Source-Changes archive

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

Re: CVS commit: src/sys/sys



On Thu, Jun 02, 2005 at 02:31:38PM +0000, Havard Eidnes wrote:
> 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.

FreeBSD and DragonFly use __DEVOLATILE, maybe we can use a common
name here? Similiar might be needed for const (__DECONST).

Joerg



Home | Main Index | Thread Index | Old Index