Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/sys



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.




Home | Main Index | Thread Index | Old Index