Subject: CVS commit: [netbsd-2] src/sys/sys
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 06/01/2005 14:20:05
Module Name:	src
Committed By:	riz
Date:		Wed Jun  1 14:20:05 UTC 2005

Modified Files:
	src/sys/sys [netbsd-2]: cdefs.h

Log Message:
Pull up revisions 1.52-1.58 (requested by christos in ticket #1967):

1.52:
define a __used attribute (empty for gcc&lt;2.7)

1.53:
The __used__ attribute first appeared in gcc 3.1, not in 2.7, according
to the gcc expertise.  Fixes build problem for the vax port, which still
uses gcc 2.95.3.

1.54:
add __DECONST()

1.55:
DECONST-&gt;UNCONST

1.56:
a little safer impl of __UNCONST, using __typeof__ if __GNUC__.

1.57:
__UNCONST: add parens around a macro argument.

1.58:
kill gcc specific version of __UNCONST. Does not work to unconst
const char *foo[];


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.51.4.1 src/sys/sys/cdefs.h

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