From 6de0b418b8fcaddda2f6105cb92bff5b6717bc97 Mon Sep 17 00:00:00 2001 From: bms Date: Wed, 31 Mar 2004 18:15:37 +0000 Subject: pcap clients should use strlcpy() from the base system libc by default also. --- contrib/libpcap/pcap-int.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'contrib/libpcap/pcap-int.h') 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 /* -- cgit v1.1