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)
Mar 11 2024, 6:01 PM
Unknown Object (File)
Mar 11 2024, 6:01 PM
Unknown Object (File)
Mar 11 2024, 5:57 PM
Unknown Object (File)
Mar 8 2024, 3:10 AM
Unknown Object (File)
Feb 7 2024, 10:19 PM
Unknown Object (File)
Jan 30 2024, 9:38 AM
Unknown Object (File)
Jan 4 2024, 8:46 AM
Unknown Object (File)
Jan 4 2024, 8:46 AM

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.