Page MenuHomeFreeBSD

endian.h: Use the __bswap* versions
ClosedPublic

Authored by imp on Sep 14 2021, 10:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 10:27 PM
Unknown Object (File)
Thu, Nov 6, 3:24 PM
Unknown Object (File)
Tue, Nov 4, 9:10 PM
Unknown Object (File)
Sun, Nov 2, 3:52 PM
Unknown Object (File)
Sun, Nov 2, 2:26 PM
Unknown Object (File)
Wed, Oct 29, 11:55 AM
Unknown Object (File)
Wed, Oct 29, 11:20 AM
Unknown Object (File)
Oct 27 2025, 2:17 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.