From 6961bcb81300e6c922d49ae64f3da8cc04d69b13 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 00:03:30 +0200 Subject: 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 --- ax25/ax25d.c | 2 -- ax25/axgetput/axgetput.c | 26 ++++---------------------- ax25/axgetput/axgetput.h | 2 -- ax25/axgetput/proto_bin.c | 2 -- ax25/axgetput/proto_bin.h | 2 -- ax25/axgetput/util.c | 2 -- ax25/axgetput/util.h | 2 -- ax25/axspawn.c | 3 --- ax25/bpqparms.c | 6 +----- 9 files changed, 5 insertions(+), 42 deletions(-) (limited to 'ax25') diff --git a/ax25/ax25d.c b/ax25/ax25d.c index 3ed47ca..730ca49 100644 --- a/ax25/ax25d.c +++ b/ax25/ax25d.c @@ -1,6 +1,4 @@ /* - * $Id: ax25d.c,v 1.9 2011/08/18 09:51:08 dl9sau Exp $ - * * This is my version of axl.c, written for the LBBS code to make it * compatable with the kernel AX25 driver. It appears to work, with * my setup, so it'll probably not work else where :-). 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 +#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 \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 * 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 * 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 * 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 * 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 * License: GPL. See http://www.fsf.org/ diff --git a/ax25/axspawn.c b/ax25/axspawn.c index 5d0cfac..e8ad0fa 100644 --- a/ax25/axspawn.c +++ b/ax25/axspawn.c @@ -1,7 +1,4 @@ /* - * - * $Id: axspawn.c,v 1.27 2011/08/18 10:43:49 dl9sau Exp $ - * * axspawn.c - run a program from ax25d. * * Copyright (c) 1996 Joerg Reuter DL1BKE (jreuter@poboxes.com) diff --git a/ax25/bpqparms.c b/ax25/bpqparms.c index 62eeab8..f8e9d66 100644 --- a/ax25/bpqparms.c +++ b/ax25/bpqparms.c @@ -37,8 +37,6 @@ #include -#define RCS_ID "$Id: bpqparms.c,v 1.3 2007/01/23 13:40:01 ralf Exp $" - void usage(void) { fprintf(stderr, "usage : bpqparms dev -d address [-a address]\n"); @@ -47,8 +45,6 @@ void usage(void) exit(1); } -char *Version = "$Revision: 1.3 $"; - int get_hwaddr(unsigned char *k, char *s) { unsigned char broadcast[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; @@ -100,7 +96,7 @@ int main(int argc, char **argv) break; case 'V': - printf("bpqparms version %s\n", Version); + printf("bpqparms version " VERSION "\n"); printf("Copyright 1996, Jörg Reuter (jreuter@poboxes.com)\n"); printf("This program is free software; you can redistribute it and/or modify\n"); printf("it under the terms of the GNU General Public License as published by\n"); -- cgit v1.2.3