Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 11/26/2007 14:52:35
Module Name:	src
Committed By:	joerg
Date:		Mon Nov 26 14:52:35 UTC 2007

Modified Files:
	src/sys/sys: cdefs.h

Log Message:
Separate handling of __attribute__, __dead and __pure:
- define away __attribute__ if not running GCC or running GCC < 2.0.
- use __attribute__((__return__)) for GCC >= 2.5, keep other cases.
- use __attribute__((__pure__)) for GCC >= 29.6, keep other cases.


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

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