summaryrefslogtreecommitdiff
path: root/xmodmap.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:15 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:15 +0000
commitd678c60d8b5bede9e61f532aa1740d741b8bbe90 (patch)
tree9a839369b08c2baddff25fb326a59ac957d25c18 /xmodmap.c
parentdc0f15394719e18bb9b01e70468f4d9908488d35 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'xmodmap.c')
-rw-r--r--xmodmap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmodmap.c b/xmodmap.c
index f86886b..6cdb7f1 100644
--- a/xmodmap.c
+++ b/xmodmap.c
@@ -26,7 +26,7 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/programs/xmodmap/xmodmap.c,v 1.7 2001/12/14 20:02:13 dawes Exp $ */
+/* $XFree86: xc/programs/xmodmap/xmodmap.c,v 1.9 2003/05/27 22:27:08 tsi Exp $ */
#include <X11/Xos.h>
#include <X11/Xlib.h>
@@ -236,7 +236,7 @@ main(int argc, char *argv[])
case '3':
case '4':
case '5': {
- char *cmd = "clear modX";
+ char cmd[11] = "clear modX";
cmd[9] = arg[1];
process_line (cmd);
continue;
@@ -340,5 +340,8 @@ main(int argc, char *argv[])
}
Exit (status < 0 ? 1 : 0);
+
+ /* Muffle gcc */
+ return 0;
}