diff options
author | guy <guy> | 2003-11-15 00:39:12 +0000 |
---|---|---|
committer | guy <guy> | 2003-11-15 00:39:12 +0000 |
commit | 3824a6c0417a551961d1a1bf4f94f10eff736afc (patch) | |
tree | 2b211ef3e3696745aad7db0423cbf80ccf37ca38 /missing/snprintf.c | |
parent | 0a27c291d0f9324cfd36b6073fcddff248d0482f (diff) | |
download | tcpdump-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 'missing/snprintf.c')
-rw-r--r-- | missing/snprintf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/missing/snprintf.c b/missing/snprintf.c index 8e5994c4..4a6bf11d 100644 --- a/missing/snprintf.c +++ b/missing/snprintf.c @@ -31,16 +31,12 @@ * SUCH DAMAGE. */ -/* $Id: snprintf.c,v 1.6 2002-06-11 17:13:39 itojun Exp $ */ +/* $Id: snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $ */ #ifdef HAVE_CONFIG_H #include <config.h> #endif -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.6 2002-06-11 17:13:39 itojun Exp $"; -#endif #include <stdio.h> #include <stdarg.h> @@ -51,6 +47,10 @@ static const char rcsid[] = #include <interface.h> +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/missing/snprintf.c,v 1.7 2003-11-15 00:39:48 guy Exp $"; +#endif enum format_flags { minus_flag = 1, plus_flag = 2, |