From 444a7b254995bdf3dc81328b0c41fdb864b96f1a Mon Sep 17 00:00:00 2001 From: bms Date: Wed, 31 Mar 2004 18:14:27 +0000 Subject: snprintf() and vsnprintf() are part of our base system libc, therefore pcap should not fall back to its own implementations in the absence of HAVE_SNPRINTF and HAVE_VSNPRINTF defines when compiled and installed as part of the world. This should fix builds of pflogd and packages depending on the base system libpcap. Reported by: Andrzej Tobola --- contrib/libpcap/pcap-int.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'contrib/libpcap/pcap-int.h') diff --git a/contrib/libpcap/pcap-int.h b/contrib/libpcap/pcap-int.h index 4a5a288..b92a4be 100644 --- a/contrib/libpcap/pcap-int.h +++ b/contrib/libpcap/pcap-int.h @@ -240,16 +240,6 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *); #include -#if !defined(HAVE_SNPRINTF) -#define snprintf pcap_snprintf -extern int snprintf (char *, size_t, const char *, ...); -#endif - -#if !defined(HAVE_VSNPRINTF) -#define vsnprintf pcap_vsnprintf -extern int vsnprintf (char *, size_t, const char *, va_list ap); -#endif - /* * Routines that most pcap implementations can use for non-blocking mode. */ -- cgit v1.1