On Fri, Dec 31, 2010 at 12:29:57PM +0100, Mark Kettenis wrote:
> > From: Daniel Stone <[email protected]>
> > Date: Fri, 31 Dec 2010 02:00:20 +0000
> > 
> > From: Adam Jackson <[email protected]>
> > 
> > xcmisc.c:202: warning: no previous prototype for ‘XCMiscExtensionInit’
> 
> Sorry, but what's the point of the #if 1/#endif around the prototype?
> 
> > +#if 1
> > +extern void XCMiscExtensionInit(INITARGS);
> > +#endif

Not a great deal, but it's in context: all the other extensions have an
#if/#endif pair around them, including mandatory extensions (XTest,
Security, panoramiX, XKB) which have an #if 1/#endif.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to