summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-03-17 21:38:16 -0700
committerGuy Harris <gharris@sonic.net>2021-03-17 21:38:16 -0700
commitd0e58012bc4984ff7af339df01cfdc7c3ea0d5eb (patch)
treef46a4066a2c96071546f09d5c9ab7e288336f8cf /aclocal.m4
parent8b6b13d4cbb685db047af04c49817ed81fff7c35 (diff)
downloadlibpcap-d0e58012bc4984ff7af339df01cfdc7c3ea0d5eb.tar.gz
Revert "Don't wrap chunks of headers with extern "C" { ... }."
This reverts commit 8b6b13d4cbb685db047af04c49817ed81fff7c35. That solution allowed you to intermix declarations/definitions and before the extern "C", so you can see what's being imported.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m49
1 files changed, 3 insertions, 6 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 56bb418f..786423bf 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -106,8 +106,7 @@ AC_DEFUN(AC_LBL_C_INIT,
#
# Try to have the compiler default to hiding symbols,
# so that only symbols explicitly exported with
- # PCAP_EXPORTED_C_FUNC or PCAP_EXPORTED_DATA will
- # be visible outside (shared) libraries.
+ # PCAP_API will be visible outside (shared) libraries.
#
AC_LBL_CHECK_COMPILER_OPT($1, -fvisibility=hidden)
else
@@ -126,8 +125,7 @@ AC_DEFUN(AC_LBL_C_INIT,
#
# Try to have the compiler default to hiding symbols,
# so that only symbols explicitly exported with
- # PCAP_EXPORTED_C_FUNC or PCAP_EXPORTED_DATA will
- # be visible outside (shared) libraries.
+ # PCAP_API will be visible outside (shared) libraries.
#
AC_LBL_CHECK_COMPILER_OPT($1, -fvisibility=hidden)
;;
@@ -208,8 +206,7 @@ AC_DEFUN(AC_LBL_C_INIT,
#
# Try to have the compiler default to hiding symbols,
# so that only symbols explicitly exported with
- # PCAP_EXPORTED_C_FUNC or PCAP_EXPORTED_DATA will
- # be visible outside (shared) libraries.
+ # PCAP_API will be visible outside (shared) libraries.
#
AC_LBL_CHECK_COMPILER_OPT($1, -xldscope=hidden)
;;