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.coopersm...@oracle.com
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to