From 6b178bd41548b561913be45a6ee649a497ec5d1f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 29 Dec 2011 00:08:47 +0000 Subject: Add 'extern "C"' wrappers and #include guards to various header files. svn path=/trunk/; revision=40321 --- airpcap_loader.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'airpcap_loader.h') diff --git a/airpcap_loader.h b/airpcap_loader.h index 765fde330e..823b658d24 100644 --- a/airpcap_loader.h +++ b/airpcap_loader.h @@ -30,6 +30,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Error values from "get_airpcap_interface_list()". */ #define CANT_GET_AIRPCAP_INTERFACE_LIST 0 /* error getting list */ #define NO_AIRPCAP_INTERFACES_FOUND 1 /* list is empty */ @@ -551,4 +555,8 @@ get_compiled_airpcap_version(GString *str); void get_runtime_airpcap_version(GString *str); +#ifdef __cplusplus +} #endif + +#endif /* __AIRPCAP_LOADER_H__ */ -- cgit v1.2.3