git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add 'extern "C"' wrappers and #include guards to various header files.
[obnox/wireshark/wip.git]
/
capture-wpcap.h
diff --git
a/capture-wpcap.h
b/capture-wpcap.h
index c3b45ea2309a885a0bc926cda8f7c3eb3dc071c6..cfe23828d787189c168c578963eeab24c2846b2a 100644
(file)
--- 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 */