[PATCH 6/9] xcmisc: warning fix

Mark Kettenis mark.kettenis at xs4all.nl
Fri Dec 31 03:29:57 PST 2010


> From: Daniel Stone <daniel at fooishbar.org>
> Date: Fri, 31 Dec 2010 02:00:20 +0000
> 
> From: Adam Jackson <ajax at redhat.com>
> 
> 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


More information about the xorg-devel mailing list