summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorguy <guy>2002-08-06 04:42:04 +0000
committerguy <guy>2002-08-06 04:42:04 +0000
commit79877e90f4799e15c2f2ab71ed2a935f244761c3 (patch)
tree0b015abff9f83471ffb16070e347c46fadae3b27 /util.c
parentfacb08068a8223b743859fabc2778f1198370fd4 (diff)
downloadtcpdump-79877e90f4799e15c2f2ab71ed2a935f244761c3.tar.gz
Get rid of some unnecessary includes (<time.h>, <netdb.h>, and <ctype.h>
are included by <tcpdump-stdinc.h>, so we don't have to include them explicitly; <errno.h> isn't needed by print routines).
Diffstat (limited to 'util.c')
-rw-r--r--util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/util.c b/util.c
index e8515f18..9595dc10 100644
--- a/util.c
+++ b/util.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.78 2002-08-02 04:22:11 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/util.c,v 1.79 2002-08-06 04:42:07 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -41,9 +41,6 @@ static const char rcsid[] =
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
-#ifdef TIME_WITH_SYS_TIME
-#include <time.h>
-#endif
#include "interface.h"