summaryrefslogtreecommitdiff
path: root/addrtoname.c
diff options
context:
space:
mode:
authorguy <guy>2001-06-28 10:27:08 +0000
committerguy <guy>2001-06-28 10:27:08 +0000
commitcab3c4cb47f80339ee3fc3ddd9c544d221121239 (patch)
tree1d98a5ac7b1b1ce95e87ae68b5eded681b697213 /addrtoname.c
parentdf3cdfedb26b8d27a6374b9e157cd572fb3bb8af (diff)
downloadtcpdump-cab3c4cb47f80339ee3fc3ddd9c544d221121239.tar.gz
As we're not using "bcmp()" or "bcopy()" in "addrtoname.c", we don't
need to include <strings.h> on some platforms in order to declare them.
Diffstat (limited to 'addrtoname.c')
-rw-r--r--addrtoname.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/addrtoname.c b/addrtoname.c
index bb337a05..aff1c0fc 100644
--- a/addrtoname.c
+++ b/addrtoname.c
@@ -23,7 +23,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.81 2001-06-26 21:00:20 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.82 2001-06-28 10:27:08 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -54,9 +54,6 @@ struct rtentry;
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
#include "interface.h"
#include "addrtoname.h"