Subject: Re: __UNCONST(a)
To: None <christos@zoulas.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 06/30/2004 21:33:07
> I would like to add:
> 
>     /* No intptr_t dependency here */
>     #define __UNCONST(a) ((void *)(unsigned long)(const void *)(a))
> 
> in <sys/cdefs.h>
> 
> Any objections?

FreeBSD has __DECONST.
please follow it unless there's a compelling reason.

YAMAMOTO Takashi