Subject: Re: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: source-changes
Date: 06/02/2005 16:40:27
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