]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
endian.h: Use the __bswap* versions
authorWarner Losh <imp@FreeBSD.org>
Tue, 21 Sep 2021 04:02:35 +0000 (22:02 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 21 Sep 2021 04:02:35 +0000 (22:02 -0600)
commit44fb3c695f5e672ec00bdef0fa0f13793e6269a1
tree47ce4470407d54df45ea6f54a275b08c443f4dcf
parent53cce2e744c1086bd5c6aa18bff4daac42468538
endian.h: Use the __bswap* versions

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.

Reviewed by: emaste,jhb,markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D31964
sys/sys/endian.h