diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
commit | 6b178bd41548b561913be45a6ee649a497ec5d1f (patch) | |
tree | 81727fd787260953b047a6b711a1ebb3a6946684 /capture-wpcap.h | |
parent | cb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff) |
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'capture-wpcap.h')
-rw-r--r-- | capture-wpcap.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/capture-wpcap.h b/capture-wpcap.h index c3b45ea230..cfe23828d7 100644 --- a/capture-wpcap.h +++ b/capture-wpcap.h @@ -25,10 +25,18 @@ #ifndef CAPTURE_WPCAP_H #define CAPTURE_WPCAP_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + extern gboolean has_wpcap; void load_wpcap(void); -#endif +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* CAPTURE_WPCAP_H */ |