svn commit: r190591 - head/contrib/libpcap

Rui Paulo rpaulo at FreeBSD.org
Tue Mar 31 04:04:52 PDT 2009


Author: rpaulo
Date: Tue Mar 31 11:04:51 2009
New Revision: 190591
URL: http://svn.freebsd.org/changeset/base/190591

Log:
  Remove a dangling extern "C" declaration that was missed during the
  merge. Fixes C++ ports using libpcap (nmap, for example).
  
  Submitted by:	Daniel Roethlisberger <daniel at roe.ch>

Modified:
  head/contrib/libpcap/pcap.h

Modified: head/contrib/libpcap/pcap.h
==============================================================================
--- head/contrib/libpcap/pcap.h	Tue Mar 31 10:34:54 2009	(r190590)
+++ head/contrib/libpcap/pcap.h	Tue Mar 31 11:04:51 2009	(r190591)
@@ -53,10 +53,6 @@
 
 #include <stdio.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #define PCAP_VERSION_MAJOR 2
 #define PCAP_VERSION_MINOR 4
 


More information about the svn-src-all mailing list