diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-17 21:38:16 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-17 21:38:16 -0700 |
commit | d0e58012bc4984ff7af339df01cfdc7c3ea0d5eb (patch) | |
tree | f46a4066a2c96071546f09d5c9ab7e288336f8cf /aclocal.m4 | |
parent | 8b6b13d4cbb685db047af04c49817ed81fff7c35 (diff) |
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.m4 | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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) ;; |