[PATCH v2 05/42] PseudoramiX: Fix ExtensionInit prototype

Daniel Stone daniel at fooishbar.org
Fri Dec 2 03:27:13 PST 2011


Similar to the fix for Xinerama, make sure PseudoramiXExtensionInit is
declared as taking no arguments, since its only callers call it with no
arguments ...

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 hw/xquartz/pseudoramiX.c |    2 +-
 hw/xquartz/pseudoramiX.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

v2: New.

diff --git a/hw/xquartz/pseudoramiX.c b/hw/xquartz/pseudoramiX.c
index 5a5b9c2..89ad94f 100644
--- a/hw/xquartz/pseudoramiX.c
+++ b/hw/xquartz/pseudoramiX.c
@@ -111,7 +111,7 @@ PseudoramiXAddScreen(int x, int y, int w, int h)
 
 // Initialize PseudoramiX.
 // Copied from PanoramiXExtensionInit
-void PseudoramiXExtensionInit(int argc, char *argv[])
+void PseudoramiXExtensionInit(void)
 {
     Bool	     	success = FALSE;
     ExtensionEntry 	*extEntry;
diff --git a/hw/xquartz/pseudoramiX.h b/hw/xquartz/pseudoramiX.h
index df5010d..2ffa4cf 100644
--- a/hw/xquartz/pseudoramiX.h
+++ b/hw/xquartz/pseudoramiX.h
@@ -5,5 +5,5 @@
 extern int noPseudoramiXExtension;
 
 void PseudoramiXAddScreen(int x, int y, int w, int h);
-void PseudoramiXExtensionInit(int argc, char *argv[]);
+void PseudoramiXExtensionInit(void);
 void PseudoramiXResetScreens(void);
-- 
1.7.7.3



More information about the xorg-devel mailing list