aboutsummaryrefslogtreecommitdiffstats
path: root/ui/capture_globals.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-08-04 00:01:59 +0000
committerGerald Combs <gerald@wireshark.org>2012-08-04 00:01:59 +0000
commitb82eedf94a203c054c5940030fa6a9d7122b137c (patch)
tree66dc14dabee1878137cdfe7ec90e0f662c513a14 /ui/capture_globals.h
parenta234d1215c9cc5787a2c91e3b89765ba7723094a (diff)
Make sure global_capture_opts is properly declared.
svn path=/trunk/; revision=44254
Diffstat (limited to 'ui/capture_globals.h')
-rw-r--r--ui/capture_globals.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/capture_globals.h b/ui/capture_globals.h
index 341b081a4b..1da90d22b6 100644
--- a/ui/capture_globals.h
+++ b/ui/capture_globals.h
@@ -25,6 +25,14 @@
#ifndef __CAPTURE_GLOBALS_H__
#define __CAPTURE_GLOBALS_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
extern capture_options global_capture_opts;
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __CAPTURE_GLOBALS_H__ */