CVS commit: xsrc/external/mit/xinput/dist/src

2010-05-21 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Sat May 22 01:10:31 UTC 2010

Removed Files:
xsrc/external/mit/xinput/dist/src: version.c

Log Message:
merge xinput 1.5.1


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

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



CVS commit: xsrc/external/mit/xinput/dist/src

2011-08-11 Thread Joerg Sonnenberger
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);