Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 09/19/2007 20:31:34
Module Name:	src
Committed By:	he
Date:		Wed Sep 19 20:31:34 UTC 2007

Modified Files:
	src/common/lib/libc/arch/m68k/gen: bswap16.S bswap32.S
	src/sys/arch/sun2/include: bswap.h

Log Message:
Improve consistency between <sys/bswap.h> and what's actually
defined by the C library for the various m68k ports by borrowing
some #ifs from the i386 port.

Also, align sun2 with the other m68k ports as to whether they
define __bswap{16,32} or bswap{16,32} in their C library (all
now define the __ variants).

This should make the m68k ports build sys/rump again, except
for sun2 which hits another problem later on.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/common/lib/libc/arch/m68k/gen/bswap16.S \
    src/common/lib/libc/arch/m68k/gen/bswap32.S
cvs rdiff -r1.1 -r1.2 src/sys/arch/sun2/include/bswap.h

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