summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorgutteridge <gutteridge@NetBSD.org>2022-04-21 04:03:54 +0000
committergutteridge <gutteridge@NetBSD.org>2022-04-21 04:03:54 +0000
commit6389284528b463273a9b76d0b56494dc24a7d108 (patch)
tree4bf84b437e8c9e4dfdb0c7540a7f21872dde7d75 /sys/dev/microcode
parent451d0e4621d29d7c62d201d51b7e9744243daf16 (diff)
nameser_compat.h: simplify logic to determine byte order
There's really no need for all the complex #ifdefs present and, on top of that, it didn't even work correctly for all NetBSD architectures. Simply use endian.h and drop the rest. (Since there is no upstream for this code anymore, there's no concern about complicating future merges, either. This change is also consistent with what FreeBSD and OpenBSD did years ago.) Addresses PR toolchain/53880 (reported by maya@, originally encountered by me on macppc when building a package that pulls in nameser_compat.h before nameser.h by necessity -- necessity, that is, on another OS).
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions