NetBSD/usr.sbin/pwd_mkdb
apb 09ba0a6ca8 Replace local swap16, swap32, and swap64 inline functions with the
NetBSD conventional bswap16, bswap32, and bswap64 functions or macros.

In a non-tools build, include <sys/types.h> and <machine/bswap.h> to
get definitions of these functions.  In a tools build, rely on the
functions or macros being provided by nbtool_config.h, but don't incluce
<machine/bswap.h> (which might not exist in a cross build).

This should address a problem building on OpenBSD, which has swap16,
swap32, and swap64 macros that conflicted with the local definitions.
The problem was reported by Alexander Bluhm, but this patch is quite
different from the one he suggested.
2009-03-06 19:05:11 +00:00
..
Makefile Oops, forgot to merge this. 2009-01-14 23:18:57 +00:00
pwd_mkdb.8 New sentence, new line. Add -c to SYNOPSIS. 2006-09-23 20:09:41 +00:00
pwd_mkdb.c Replace local swap16, swap32, and swap64 inline functions with the 2009-03-06 19:05:11 +00:00