]> The Tcpdump Group git mirrors - libpcap/blobdiff - optimize.c
Don't wrap chunks of headers with extern "C" { ... }.
[libpcap] / optimize.c
index 610a03037a0838e8f90518f347258a24a4f18fb5..97894d02258414f709c31de3a35d5d4689b772b7 100644 (file)
@@ -62,7 +62,7 @@ static int pcap_optimizer_debug;
  * it's not declared in any header file, and won't be declared in any
  * header file provided by libpcap.
  */
-PCAP_API void pcap_set_optimizer_debug(int value);
+PCAP_EXPORTED_C_FUNC void pcap_set_optimizer_debug(int value);
 
 PCAP_API_DEF void
 pcap_set_optimizer_debug(int value)
@@ -87,7 +87,7 @@ static int pcap_print_dot_graph;
  * it's not declared in any header file, and won't be declared in any
  * header file provided by libpcap.
  */
-PCAP_API void pcap_set_print_dot_graph(int value);
+PCAP_EXPORTED_C_FUNC void pcap_set_print_dot_graph(int value);
 
 PCAP_API_DEF void
 pcap_set_print_dot_graph(int value)