summaryrefslogtreecommitdiff
path: root/xmodmap.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:12 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:12 +0000
commit7586b1379149e9596c78b0595362c7e6499e9de8 (patch)
tree9a839369b08c2baddff25fb326a59ac957d25c18 /xmodmap.c
parenteb91f6f0142003bb3c0cd01c8423e31835af38f6 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
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;
}