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

2011-05-23 Thread Alan Coopersmith
On 04/27/11 05:25 PM, Jeremy Huddleston wrote: Signed-off-by: Jeremy Huddleston jerem...@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

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

2011-04-28 Thread Daniel Stone
On Wed, Apr 27, 2011 at 05:25:40PM -0700, Jeremy Huddleston wrote: Signed-off-by: Jeremy Huddleston jerem...@apple.com Reviewed-by: Daniel Stone dan...@fooishbar.org ___ xorg-devel@lists.x.org: X.Org development Archives:

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

2011-04-27 Thread Jeremy Huddleston
Signed-off-by: Jeremy Huddleston jerem...@apple.com --- Alan, what SunCC magic needs to go here? Xfuncproto.h.in |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Xfuncproto.h.in b/Xfuncproto.h.in index 2b8a226..88d91c0 100644 --- a/Xfuncproto.h.in +++