Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 01/30/2006 21:52:38
Module Name:	src
Committed By:	dsl
Date:		Mon Jan 30 21:52:38 UTC 2006

Modified Files:
	src/sys/arch/amd64/include: endian_machdep.h
	src/sys/arch/arm/include: endian_machdep.h
	src/sys/arch/i386/include: endian_machdep.h
	src/sys/arch/pc532/include: endian_machdep.h
	src/sys/arch/sh5/include: endian_machdep.h
	src/sys/arch/vax/include: endian_machdep.h
	src/sys/sys: endian.h

Log Message:
Move the definitions of ntohl() and friends into sys/endian.h where they
are defined in terms of bswap32() and bswap16().
This makes the definition be in the same place for all systems regardless
of creed^Wendianness.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/amd64/include/endian_machdep.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/arm/include/endian_machdep.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/include/endian_machdep.h
cvs rdiff -r1.3 -r1.4 src/sys/arch/pc532/include/endian_machdep.h
cvs rdiff -r1.5 -r1.6 src/sys/arch/sh5/include/endian_machdep.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/vax/include/endian_machdep.h
cvs rdiff -r1.20 -r1.21 src/sys/sys/endian.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.