Page MenuHomeFreeBSD

endian.h: Use the __bswap* versions
ClosedPublic

Authored by imp on Sep 14 2021, 10:23 PM.
Tags
None
Referenced Files
F139325949: D31964.id95183.diff
Wed, Dec 10, 9:16 PM
Unknown Object (File)
Nov 10 2025, 10:27 PM
Unknown Object (File)
Nov 6 2025, 3:24 PM
Unknown Object (File)
Nov 4 2025, 9:10 PM
Unknown Object (File)
Nov 2 2025, 3:52 PM
Unknown Object (File)
Nov 2 2025, 2:26 PM
Unknown Object (File)
Oct 29 2025, 11:55 AM
Unknown Object (File)
Oct 29 2025, 11:20 AM
Subscribers
None

Details

Summary

Make it possible to have all these macros work without bswap* being
defined. bswap* is part of the application namespace and applications
are free to redefine those functions.

Sponsored by: Netflix

Test Plan

This peels out this rather independent change

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41518
Build 38407: arc lint + arc unit

Event Timeline

imp requested review of this revision.Sep 14 2021, 10:23 PM
imp created this revision.
This revision is now accepted and ready to land.Sep 15 2021, 1:23 PM

After the exp run, this likely is fine to go in. No failures from this change were detected.

This revision was automatically updated to reflect the committed changes.