Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 11:04:51 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190591 - head/contrib/libpcap
Message-ID:  <200903311104.n2VB4pHx098280@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903311104.n2VB4pHx098280>