From 3824a6c0417a551961d1a1bf4f94f10eff736afc Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 15 Nov 2003 00:39:12 +0000 Subject: 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". --- print-telnet.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'print-telnet.c') diff --git a/print-telnet.c b/print-telnet.c index b3d99cb5..ffb10c41 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -49,10 +49,6 @@ #include "config.h" #endif -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.21 2002-09-05 00:00:22 guy Exp $"; -#endif #include @@ -63,6 +59,10 @@ static const char rcsid[] = #include "interface.h" #include "addrtoname.h" +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-telnet.c,v 1.22 2003-11-15 00:39:42 guy Exp $"; +#endif #define TELCMDS #define TELOPTS #include "telnet.h" -- cgit v1.2.1