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)
Fri, May 24, 10:48 AM
Unknown Object (File)
Wed, May 22, 7:47 AM
Unknown Object (File)
Wed, May 22, 7:47 AM
Unknown Object (File)
Wed, May 22, 7:47 AM
Unknown Object (File)
Mon, May 20, 8:56 PM
Unknown Object (File)
Sun, May 12, 4:52 AM
Unknown Object (File)
Mon, May 6, 8:00 PM
Unknown Object (File)
Wed, May 1, 11:33 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
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.