[Pkg-voip-commits] [dahdi-tools] 269/285: Remove rcsid: Unused since move to Git

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit f105a09eda3a3b832078194e7ece902271a8d7b7
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Tue Jan 26 15:12:30 2016 +0200

    Remove rcsid: Unused since move to Git
    
    * While technically Git can support $ID keywords, in practice they are not
      used.
    * GCC now give a warning about ''rcsid' defined but not used' for some
      of those.
    
    Let's just remove the unused rcsid.
---
 patgen.c              | 2 --
 pattest.c             | 2 --
 xpp/astribank_allow.c | 2 --
 xpp/hexfile.c         | 2 --
 4 files changed, 8 deletions(-)

diff --git a/patgen.c b/patgen.c
index 2b619d3..5086c32 100644
--- a/patgen.c
+++ b/patgen.c
@@ -45,7 +45,6 @@
 #define BLOCK_SIZE 2041
 #define DEVICE	  "/dev/dahdi/channel"
 
-static const char	rcsid[] = "$Id$";
 char			*prog_name;
 
 static void usage(void)
@@ -53,7 +52,6 @@ static void usage(void)
 	fprintf(stderr, "Usage: %s <dahdi_chan>\n", prog_name);
 	fprintf(stderr, "   e.g.: %s /dev/dahdi/55\n", prog_name);
 	fprintf(stderr, "         %s 455\n", prog_name);
-	fprintf(stderr, "%s version %s\n", prog_name, rcsid);
 	exit(1);
 }
 
diff --git a/pattest.c b/pattest.c
index 09b0c8e..91d10ee 100644
--- a/pattest.c
+++ b/pattest.c
@@ -44,7 +44,6 @@
 #define BLOCK_SIZE 2039
 #define DEVICE	  "/dev/dahdi/channel"
 
-static const char	rcsid[] = "$Id$";
 char			*prog_name;
 
 static void usage(void)
@@ -52,7 +51,6 @@ static void usage(void)
 	fprintf(stderr, "Usage: %s <dahdi_chan>\n", prog_name);
 	fprintf(stderr, "   e.g.: %s /dev/dahdi/55\n", prog_name);
 	fprintf(stderr, "         %s 455\n", prog_name);
-	fprintf(stderr, "%s version %s\n", prog_name, rcsid);
 	exit(1);
 }
 
diff --git a/xpp/astribank_allow.c b/xpp/astribank_allow.c
index dd8d9d3..bc97c92 100644
--- a/xpp/astribank_allow.c
+++ b/xpp/astribank_allow.c
@@ -36,8 +36,6 @@
 #include "astribank.h"
 #include "astribank_license.h"
 
-static const char rcsid[] = "$Id$";
-
 #define	DBG_MASK	0x80
 
 static char	*progname;
diff --git a/xpp/hexfile.c b/xpp/hexfile.c
index 1227b26..2a54fd5 100644
--- a/xpp/hexfile.c
+++ b/xpp/hexfile.c
@@ -28,8 +28,6 @@
 #include <ctype.h>
 #include "hexfile.h"
 
-static const char rcsid[] = "$Id$";
-
 static parse_hexfile_report_func_t	report_func = NULL;
 
 parse_hexfile_report_func_t parse_hexfile_set_reporting(parse_hexfile_report_func_t rf)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list