Skip to content

Commit

Permalink
Add _U_ to "rcsid[]" definitions, to eliminate "unused variable"
Browse files Browse the repository at this point in the history
warnings from newer versions of GCC.
  • Loading branch information
yuguy committed Nov 15, 2003
1 parent f387010 commit 30e89f1
Show file tree
Hide file tree
Showing 31 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions Win32/Src/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
#endif

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/getaddrinfo.c,v 1.1 2002-08-01 08:33:09 risso Exp $";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/getaddrinfo.c,v 1.2 2003-11-15 23:24:06 guy Exp $";
#endif

#include <pcap-stdinc.h>
Expand Down
6 changes: 3 additions & 3 deletions Win32/Src/inet_aton.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
* SUCH DAMAGE.
*/

/* $Id: inet_aton.c,v 1.1 2002-08-01 08:33:10 risso Exp $ */
/* $Id: inet_aton.c,v 1.2 2003-11-15 23:24:06 guy Exp $ */

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_aton.c,v 1.1 2002-08-01 08:33:10 risso Exp $";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_aton.c,v 1.2 2003-11-15 23:24:06 guy Exp $";
#endif

#include <sys/types.h>
Expand Down
6 changes: 3 additions & 3 deletions Win32/Src/inet_pton.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
* SUCH DAMAGE.
*/

/* $Id: inet_pton.c,v 1.1 2002-08-01 08:33:11 risso Exp $ */
/* $Id: inet_pton.c,v 1.2 2003-11-15 23:24:06 guy Exp $ */

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_pton.c,v 1.1 2002-08-01 08:33:11 risso Exp $";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/Win32/Src/inet_pton.c,v 1.2 2003-11-15 23:24:06 guy Exp $";
#endif

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions bpf/net/bpf_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
*/

#if !(defined(lint) || defined(KERNEL) || defined(_KERNEL))
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.43 2003-03-22 07:24:49 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/bpf/net/bpf_filter.c,v 1.44 2003-11-15 23:24:07 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions bpf_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.13 2002-03-24 23:21:51 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.14 2003-11-15 23:23:57 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions bpf_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/bpf_image.c,v 1.25 2002-03-24 23:21:51 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/bpf_image.c,v 1.26 2003-11-15 23:23:57 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions etherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/etherent.c,v 1.21 2000-07-11 00:37:04 assar Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/etherent.c,v 1.22 2003-11-15 23:23:57 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions fad-getad.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-getad.c,v 1.7 2003-09-10 23:06:43 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/fad-getad.c,v 1.8 2003-11-15 23:23:58 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions fad-gifc.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-gifc.c,v 1.4 2003-02-25 07:50:28 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/fad-gifc.c,v 1.5 2003-11-15 23:23:58 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions fad-glifc.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-glifc.c,v 1.2 2002-07-30 08:12:13 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/fad-glifc.c,v 1.3 2003-11-15 23:23:58 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions fad-null.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-null.c,v 1.1 2002-07-27 18:46:21 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/fad-null.c,v 1.2 2003-11-15 23:23:58 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions fad-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.7 2003-09-22 11:45:58 risso Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.8 2003-11-15 23:23:59 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions gencode.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.193 2003-08-18 22:09:30 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.194 2003-11-15 23:23:59 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions grammar.y
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.79 2003-03-11 06:23:53 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.80 2003-11-15 23:24:00 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.58 2003-09-25 22:22:25 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.59 2003-11-15 23:24:00 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions nametoaddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.68 2003-02-25 22:12:03 fenner Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.69 2003-11-15 23:24:00 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions optimize.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Optimization module for tcpdump intermediate representation.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.76 2003-03-08 08:26:31 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/optimize.c,v 1.77 2003-11-15 23:24:00 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-bpf.c,v 1.67 2003-11-04 07:05:32 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-bpf.c,v 1.68 2003-11-15 23:24:01 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-dag.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-dag.c,v 1.10 2003-11-04 07:05:33 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-dag.c,v 1.11 2003-11-15 23:24:02 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-dlpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-dlpi.c,v 1.91 2003-11-04 07:05:33 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-dlpi.c,v 1.92 2003-11-15 23:24:02 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Rayan Zachariassen, CA*Net
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-enet.c,v 1.7 2003-02-11 01:46:06 guy Exp $";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-enet.c,v 1.8 2003-11-15 23:24:02 guy Exp $";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.98 2003-11-05 04:25:24 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.99 2003-11-15 23:24:03 guy Exp $ (LBL)";
#endif

/*
Expand Down
4 changes: 2 additions & 2 deletions pcap-nit.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.50 2003-11-04 07:05:35 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-nit.c,v 1.51 2003-11-15 23:24:03 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-null.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.20 2003-07-25 05:32:04 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.21 2003-11-15 23:24:03 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-pf.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.79 2003-11-04 07:05:36 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.80 2003-11-15 23:24:04 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-snit.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.66 2003-11-04 07:05:36 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.67 2003-11-15 23:24:04 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-snoop.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.46 2003-11-12 23:15:00 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.47 2003-11-15 23:24:04 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions pcap-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.15 2003-11-04 07:05:37 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap-win32.c,v 1.16 2003-11-15 23:24:05 guy Exp $ (LBL)";
#endif

#include <pcap-int.h>
Expand Down
4 changes: 2 additions & 2 deletions pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.63 2003-11-04 07:05:39 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.64 2003-11-15 23:24:05 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions savefile.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.93 2003-11-13 01:35:48 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.94 2003-11-15 23:24:05 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down
4 changes: 2 additions & 2 deletions scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*/

#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.95 2003-07-03 18:39:10 guy Exp $ (LBL)";
static const char rcsid[] _U_ =
"@(#) $Header: /tcpdump/master/libpcap/scanner.l,v 1.96 2003-11-15 23:24:05 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down

0 comments on commit 30e89f1

Please sign in to comment.