summaryrefslogtreecommitdiff
path: root/print-snmp.c
diff options
context:
space:
mode:
authorguy <guy>2003-11-15 00:39:12 +0000
committerguy <guy>2003-11-15 00:39:12 +0000
commit3824a6c0417a551961d1a1bf4f94f10eff736afc (patch)
tree2b211ef3e3696745aad7db0423cbf80ccf37ca38 /print-snmp.c
parent0a27c291d0f9324cfd36b6073fcddff248d0482f (diff)
downloadtcpdump-3824a6c0417a551961d1a1bf4f94f10eff736afc.tar.gz
From Neil Spring:
use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
Diffstat (limited to 'print-snmp.c')
-rw-r--r--print-snmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-snmp.c b/print-snmp.c
index 46e23d51..b3c3f6a5 100644
--- a/print-snmp.c
+++ b/print-snmp.c
@@ -56,10 +56,6 @@
# @(#)snmp.awk.x 1.1 (LANL) 1/15/90
*/
-#ifndef lint
-static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56 2002-09-05 00:00:21 guy Exp $ (LBL)";
-#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -77,6 +73,10 @@ static const char rcsid[] =
#include "interface.h"
#include "addrtoname.h"
+#ifndef lint
+static const char rcsid[] _U_ =
+ "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.57 2003-11-15 00:39:40 guy Exp $ (LBL)";
+#endif
/*
* Universal ASN.1 types
* (we only care about the tag values for those allowed in the Internet SMI)