Huh, so I guess INITARGS used to be int argc, char *argv then. Either way, it's now void, so fix that ...
Signed-off-by: Daniel Stone <dan...@fooishbar.org> --- Xext/panoramiX.c | 2 +- hw/xfree86/dixmods/extmod/modinit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index 00afe94..9481438 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -438,7 +438,7 @@ void XineramaReinitData(ScreenPtr pScreen) * Initialize global variables. */ -void PanoramiXExtensionInit(int argc, char *argv[]) +void PanoramiXExtensionInit(void) { int i; Bool success = FALSE; diff --git a/hw/xfree86/dixmods/extmod/modinit.h b/hw/xfree86/dixmods/extmod/modinit.h index 5bbbb88..adbcdd5 100644 --- a/hw/xfree86/dixmods/extmod/modinit.h +++ b/hw/xfree86/dixmods/extmod/modinit.h @@ -78,7 +78,7 @@ extern void SecurityExtensionInit(INITARGS); #endif #if 1 -extern void PanoramiXExtensionInit(int argc, char *argv[]); +extern void PanoramiXExtensionInit(INITARGS); #endif #if 1 -- 1.7.5.4 _______________________________________________ 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