[PATCH 2/4] XC-Misc: Fix compilation warning

Cyril Brulebois kibi at debian.org
Thu Dec 30 14:56:34 PST 2010


Hi Daniel,

(I guess you know about Adam's patch which added it to
hw/xfree86/dixmods/extmod/modinit.h? See his patch in
<1287503964-27707-7-git-send-email-ajax at redhat.com> otherwise.)

Daniel Stone <daniel at fooishbar.org> (28/12/2010):
> Add pointless forward declaration because miinitext is still rubbish.
> 
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> ---
>  Xext/xcmisc.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c
> index 378afcc..f407a84 100644
> --- a/Xext/xcmisc.c
> +++ b/Xext/xcmisc.c
> @@ -198,6 +198,8 @@ SProcXCMiscDispatch (ClientPtr client)
>      }
>  }
>  
> +extern void XCMiscExtensionInit(INITARGS);
> +
>  void
>  XCMiscExtensionInit(INITARGS)
>  {

Anyway, this version works well enough for me.

Reviewed-by: Cyril Brulebois <kibi at debian.org>

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101230/341e7bec/attachment.pgp>


More information about the xorg-devel mailing list