summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 00:03:30 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-06-06 12:48:19 +0200
commit6961bcb81300e6c922d49ae64f3da8cc04d69b13 (patch)
treeaeaeda8b266d877706d71f338c91734bd7b9dc29 /ax25/axgetput
parentfb02eefc84bcd319b2ef09930cae04b82395fac6 (diff)
Weed out all use of RCS strings.
Their value has always been dubious and git doesn't support them so let's get rid of the clutter. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/axgetput')
-rw-r--r--ax25/axgetput/axgetput.c26
-rw-r--r--ax25/axgetput/axgetput.h2
-rw-r--r--ax25/axgetput/proto_bin.c2
-rw-r--r--ax25/axgetput/proto_bin.h2
-rw-r--r--ax25/axgetput/util.c2
-rw-r--r--ax25/axgetput/util.h2
6 files changed, 4 insertions, 32 deletions
diff --git a/ax25/axgetput/axgetput.c b/ax25/axgetput/axgetput.c
index 55e8364..d3d3f53 100644
--- a/ax25/axgetput/axgetput.c
+++ b/ax25/axgetput/axgetput.c
@@ -1,5 +1,3 @@
-static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.5 2009/06/23 22:13:51 ralf Exp $";
-
/*
* This is axgetput
*
@@ -16,6 +14,9 @@ static const char rcsid[] = "@(#) $Id: axgetput.c,v 1.5 2009/06/23 22:13:51 ralf
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "includes.h"
@@ -47,16 +48,6 @@ static mode_t mode_tty = 0;
#define MYNAME "axgetput"
#endif
-struct revision {
- char number[16];
- char date[16];
- char time[16];
- char author[16];
- char state[16];
-};
-
-static struct revision revision;
-
/*---------------------------------------------------------------------------*/
static void set_tty_flags(void)
@@ -153,7 +144,7 @@ static void signal_handler(int sig)
void do_version(void)
{
- fprintf(stderr, MYNAME " %s %s\n", revision.number, revision.date);
+ fprintf(stderr, MYNAME " " VERSION "\n");
fprintf(stderr, " (c) 2002 Thomas Osterried <thomas@x-berg.in-berlin.de>\n");
fprintf(stderr, " License: GPL. See http://www.fsf.org/\n");
fprintf(stderr, " Sources: http://x-berg.in-berlin.de/cgi-bin/viewcvs.cgi/ampr/axgetput/\n");
@@ -216,15 +207,6 @@ int main(int argc, char *argv[])
int ret = 0;
int c;
char *p;
- char buf[1024];
-
- strcpy(buf, rcsid);
- sscanf(buf, "%*s %*s %*s %s %s %s %s %s",
- revision.number,
- revision.date,
- revision.time,
- revision.author,
- revision.state);
/* determine what to so in the way how we are called */
if ((p = strrchr(argv[0], '/')))
diff --git a/ax25/axgetput/axgetput.h b/ax25/axgetput/axgetput.h
index 59f1c74..c1ad6fa 100644
--- a/ax25/axgetput/axgetput.h
+++ b/ax25/axgetput/axgetput.h
@@ -1,5 +1,3 @@
-/* @(#) $Id: axgetput.h,v 1.2 2007/01/23 13:40:01 ralf Exp $ */
-
/*
* (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
* License: GPL. See http://www.fsf.org/
diff --git a/ax25/axgetput/proto_bin.c b/ax25/axgetput/proto_bin.c
index c59a43c..004ca5e 100644
--- a/ax25/axgetput/proto_bin.c
+++ b/ax25/axgetput/proto_bin.c
@@ -1,5 +1,3 @@
-/* @(#) $Id: proto_bin.c,v 1.4 2009/01/22 11:08:50 dl9sau Exp $ */
-
/*
* (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
* License: GPL. See http://www.fsf.org/
diff --git a/ax25/axgetput/proto_bin.h b/ax25/axgetput/proto_bin.h
index 41c43e0..6c53fad 100644
--- a/ax25/axgetput/proto_bin.h
+++ b/ax25/axgetput/proto_bin.h
@@ -1,5 +1,3 @@
-/* @(#) $Id: proto_bin.h,v 1.1 2006/12/10 19:12:59 dl9sau Exp $ */
-
/*
* (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
* License: GPL. See http://www.fsf.org/
diff --git a/ax25/axgetput/util.c b/ax25/axgetput/util.c
index b1d4cd3..4aff6a0 100644
--- a/ax25/axgetput/util.c
+++ b/ax25/axgetput/util.c
@@ -1,5 +1,3 @@
-/* @(#) $Id: util.c,v 1.2 2007/01/23 13:40:01 ralf Exp $ */
-
/*
* (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
* License: GPL. See http://www.fsf.org/
diff --git a/ax25/axgetput/util.h b/ax25/axgetput/util.h
index f6d115d..abec764 100644
--- a/ax25/axgetput/util.h
+++ b/ax25/axgetput/util.h
@@ -1,5 +1,3 @@
-/* @(#) $Id: util.h,v 1.1 2006/12/10 19:12:59 dl9sau Exp $ */
-
/*
* (c) 2002 Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de>
* License: GPL. See http://www.fsf.org/