Page MenuHomeFreeBSD

endian.h: Use the __bswap* versions

Authored by imp on Sep 14 2021, 10:23 PM.



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

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

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.