Page MenuHomeFreeBSD

prefix UFS symbols with UFS_ to reduce namespace pollution
ClosedPublic

Authored by emaste on Feb 11 2017, 4:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 10, 12:24 AM
Unknown Object (File)
Jan 19 2025, 4:48 PM
Unknown Object (File)
Jan 13 2025, 5:28 PM
Unknown Object (File)
Jan 4 2025, 2:43 AM
Unknown Object (File)
Dec 16 2024, 8:26 PM
Unknown Object (File)
Nov 15 2024, 9:35 AM
Unknown Object (File)
Oct 23 2024, 2:59 AM
Unknown Object (File)
Oct 23 2024, 2:59 AM
Subscribers

Details

Summary

Specifically:

ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Prefix ext2's and nandfs's NDADDR and NIADDR with EXT2_ and NANDFS_

Obtained from: NetBSD

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to prefix UFS symbols with UFS_ to reduce namespace pollution.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: kib, mckusick.
kib edited edge metadata.

What about I* symbols from ufs/dinode.h ?

This revision is now accepted and ready to land.Feb 11 2017, 1:34 PM
mckusick edited edge metadata.

This looks like a useful change and should have no effect on functionality.

This revision was automatically updated to reflect the committed changes.