Subject: CVS commit: [netbsd-3] src/sys/sys
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 05/09/2006 12:53:44
Module Name: src
Committed By: tron
Date: Tue May 9 12:53:44 UTC 2006
Modified Files:
src/sys/sys [netbsd-3]: cdefs.h
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1304):
sys/sys/cdefs.h: revision 1.59
Add an __UNVOLATILE() macro. It should be used with caution, but
it is required to use this whenever you want to pass a pointer to
volatile data e.g. to memset(). This allows us to still compile
files doing such things with -Wcast-qual and get the rest of the
code checked under that option.
Based on suggestions from tron and christos.
To generate a diff of this commit:
cvs rdiff -r1.58 -r1.58.8.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.