From 17bb13a8280da865ecc1be940a8313e65c178a35 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 18:15:54 -0300 Subject: Compile warning fixes. Declare xmessage.c:detab as static to avoid warning about missing prototype. Also remove CVS id variable, and the printing of it in "xmessage -help". --- xmessage.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xmessage.c') diff --git a/xmessage.c b/xmessage.c index bd44b42..a3e0152 100644 --- a/xmessage.c +++ b/xmessage.c @@ -1,4 +1,3 @@ -static char*id="$XConsortium: xmessage.c,v 1.6 95/01/04 16:29:54 gildea Exp $"; /* Copyright (c) 1988, 1991, 1994 X Consortium @@ -121,7 +120,6 @@ NULL}; fprintf (outf, "where options include:\n"); for (cpp = options; *cpp; cpp++) fprintf (outf, "%s\n", *cpp); - fprintf (outf, "%s\n", id+1); } /* @@ -157,7 +155,7 @@ default_exit_action(Widget w, XEvent *event, String *params, /* Convert tabs to spaces in *messagep,*lengthp, copying to a new block of memory. */ -void +static void detab (char **messagep, int *lengthp) { int i, n, col, psize; -- cgit v1.2.3