xwininfo: const in iconv

Alan Coopersmith alan.coopersmith at oracle.com
Sat Aug 25 16:29:48 PDT 2012


On 08/25/12 03:11 PM, Thomas Klausner wrote:
> I've just sent a patch to the mailing list which fixes all but two of them.
> xwininfo.c: In function ‘usage’:
> xwininfo.c:282:1: warning: function might be possible candidate for attribute ‘noreturn’
> 
> I'm not sure how to portably specify this attribute.

We have a macro for that in Xfuncproto.h, so you can use that, as Jeremy just
did for this one:

http://cgit.freedesktop.org/xorg/app/xwininfo/commit/?id=fa40ecdfb5cd068ba531b4439df5bbf660469d3a

You can see the other attribute macros available in:
http://cgit.freedesktop.org/xorg/proto/x11proto/tree/Xfuncproto.h.in#n84

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list