diff options
author | bms <bms@FreeBSD.org> | 2004-03-31 18:15:37 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-03-31 18:15:37 +0000 |
commit | 6de0b418b8fcaddda2f6105cb92bff5b6717bc97 (patch) | |
tree | 84cfe52d5729fb3fefe79b592fad69094bc6cfec | |
parent | 444a7b254995bdf3dc81328b0c41fdb864b96f1a (diff) | |
download | FreeBSD-src-6de0b418b8fcaddda2f6105cb92bff5b6717bc97.zip FreeBSD-src-6de0b418b8fcaddda2f6105cb92bff5b6717bc97.tar.gz |
pcap clients should use strlcpy() from the base system libc by default also.
-rw-r--r-- | contrib/libpcap/pcap-int.h | 7 |
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> /* |