From 061c36238aeab62771a2815e5cbc13774945b886 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 18:15:54 -0300 Subject: [PATCH] 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 files changed, 1 insertions(+), 3 deletions(-) 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; -- 1.5.3.2