Module Name:    xsrc
Committed By:   joerg
Date:           Thu Aug 11 22:35:10 UTC 2011

Modified Files:
        xsrc/external/mit/xinput/dist/src: xinput.c

Log Message:
Call print_version without argument and mark it as void.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 xsrc/external/mit/xinput/dist/src/xinput.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xinput/dist/src/xinput.c
diff -u xsrc/external/mit/xinput/dist/src/xinput.c:1.1.1.5 xsrc/external/mit/xinput/dist/src/xinput.c:1.2
--- xsrc/external/mit/xinput/dist/src/xinput.c:1.1.1.5	Thu Jun 17 03:00:36 2010
+++ xsrc/external/mit/xinput/dist/src/xinput.c	Thu Aug 11 22:35:10 2011
@@ -140,7 +140,7 @@
 static const char version_id[] = VERSION;
 
 int
-print_version()
+print_version(void)
 {
     XExtensionVersion	*version;
     Display *display;
@@ -336,7 +336,7 @@
     while((*func) == '-') func++;
 
     if (strcmp("version", func) == 0) {
-        return print_version(argv[0]);
+        return print_version();
     }
 
     display = XOpenDisplay(NULL);

Reply via email to