Page MenuHomeFreeBSD

endian.h: Use the __bswap* versions
ClosedPublic

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

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp requested review of this revision.Tue, Sep 14, 10:23 PM
imp created this revision.
This revision is now accepted and ready to land.Wed, Sep 15, 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.