Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 06/02/2005 14:31:38
Module Name: src
Committed By: he
Date: Thu Jun 2 14:31:38 UTC 2005
Modified Files:
src/sys/sys: cdefs.h
Log Message:
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.59 src/sys/sys/cdefs.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.