summaryrefslogtreecommitdiff
path: root/xmessage.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-16 18:15:54 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 04:24:18 -0200
commit17bb13a8280da865ecc1be940a8313e65c178a35 (patch)
tree7f73f7f37661cfa39c4f5cbe64f02fdc7de456f1 /xmessage.c
parent1c6e1c795774e80c8fac489671906be2a3d8641d (diff)
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".
Diffstat (limited to 'xmessage.c')
-rw-r--r--xmessage.c4
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;