summaryrefslogtreecommitdiff
path: root/print-atalk.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-atalk.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-atalk.c')
-rw-r--r--print-atalk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-atalk.c b/print-atalk.c
index b4970654..09518dd7 100644
--- a/print-atalk.c
+++ b/print-atalk.c
@@ -21,10 +21,6 @@
* Format and print AppleTalk packets.
*/
-#ifndef lint
-static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.78 2002-12-19 09:39:11 guy Exp $ (LBL)";
-#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -43,6 +39,10 @@ static const char rcsid[] =
#include "extract.h" /* must come after interface.h */
#include "appletalk.h"
+#ifndef lint
+static const char rcsid[] _U_ =
+ "@(#) $Header: /tcpdump/master/tcpdump/print-atalk.c,v 1.79 2003-11-15 00:39:16 guy Exp $ (LBL)";
+#endif
static struct tok type2str[] = {
{ ddpRTMP, "rtmp" },
{ ddpRTMPrequest, "rtmpReq" },