aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/filesystem.h8
-rw-r--r--epan/plugins.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h
index 28d3ee926a..165159218f 100644
--- a/epan/filesystem.h
+++ b/epan/filesystem.h
@@ -25,6 +25,10 @@
#ifndef FILESYSTEM_H
#define FILESYSTEM_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Default profile name.
*/
@@ -295,4 +299,8 @@ extern gboolean copy_file_binary_mode(const char *from_filename,
extern char *getenv_utf8(const char *varname);
#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* FILESYSTEM_H */
diff --git a/epan/plugins.h b/epan/plugins.h
index b11c4748ec..7dee325299 100644
--- a/epan/plugins.h
+++ b/epan/plugins.h
@@ -25,6 +25,10 @@
#ifndef __PLUGINS_H__
#define __PLUGINS_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <glib.h>
#include <gmodule.h>
@@ -51,4 +55,8 @@ extern void register_all_plugin_tap_listeners(void);
extern void register_all_wiretap_modules(void);
extern void register_all_codecs(void);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __PLUGINS_H__ */