[PATCH 1/2] Add _X_UNUSED attribute to designate unused variables and silence warnings

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 23 15:38:53 PDT 2011


On 04/27/11 05:25 PM, Jeremy Huddleston wrote:
> 
> Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
> ---
> 
> Alan, what SunCC magic needs to go here?

I can't find any simple equivalent.   The __unused__ & nonnull attributes
aren't currently supported in the Sun compilers.

For now, I'm just going to leave those as gcc-only.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list