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 /testprogs | |
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 'testprogs')
-rw-r--r-- | testprogs/filtertest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/filtertest.c b/testprogs/filtertest.c index adc00f2a..440b550d 100644 --- a/testprogs/filtertest.c +++ b/testprogs/filtertest.c @@ -67,8 +67,8 @@ The Regents of the University of California. All rights reserved.\n"; * to include them, and only intended for use by libpcap developers trying * to debug the optimizer for filter expressions). */ -PCAP_EXPORTED_C_FUNC void pcap_set_optimizer_debug(int); -PCAP_EXPORTED_C_FUNC void pcap_set_print_dot_graph(int); +PCAP_API void pcap_set_optimizer_debug(int); +PCAP_API void pcap_set_print_dot_graph(int); #endif static char *program_name; |