From 7586b1379149e9596c78b0595362c7e6499e9de8 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Wed, 26 Nov 2003 22:49:12 +0000 Subject: merge latest (4.3.99.16) from XFree86 (vendor) branch --- xmodmap.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'xmodmap.c') 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 #include @@ -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; } -- cgit v1.2.3