summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap-int.h
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-03-31 18:15:37 +0000
committerbms <bms@FreeBSD.org>2004-03-31 18:15:37 +0000
commit6de0b418b8fcaddda2f6105cb92bff5b6717bc97 (patch)
tree84cfe52d5729fb3fefe79b592fad69094bc6cfec /contrib/libpcap/pcap-int.h
parent444a7b254995bdf3dc81328b0c41fdb864b96f1a (diff)
downloadFreeBSD-src-6de0b418b8fcaddda2f6105cb92bff5b6717bc97.zip
FreeBSD-src-6de0b418b8fcaddda2f6105cb92bff5b6717bc97.tar.gz
pcap clients should use strlcpy() from the base system libc by default also.
Diffstat (limited to 'contrib/libpcap/pcap-int.h')
-rw-r--r--contrib/libpcap/pcap-int.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/libpcap/pcap-int.h b/contrib/libpcap/pcap-int.h
index b92a4be..9da493b 100644
--- a/contrib/libpcap/pcap-int.h
+++ b/contrib/libpcap/pcap-int.h
@@ -231,13 +231,6 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
#define PCAP_FDDIPAD 3
#endif
-#ifndef HAVE_STRLCPY
-#define strlcpy(x, y, z) \
- (strncpy((x), (y), (z)), \
- ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \
- strlen((y)))
-#endif
-
#include <stdarg.h>
/*
OpenPOWER on IntegriCloud