summaryrefslogtreecommitdiff
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
committerGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
commit6b178bd41548b561913be45a6ee649a497ec5d1f (patch)
tree81727fd787260953b047a6b711a1ebb3a6946684 /epan/epan.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
downloadwireshark-6b178bd41548b561913be45a6ee649a497ec5d1f.tar.gz
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/epan.h b/epan/epan.h
index 0b98c584b4..834e990df3 100644
--- a/epan/epan.h
+++ b/epan/epan.h
@@ -24,6 +24,10 @@
#ifndef EPAN_H
#define EPAN_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <glib.h>
#include "frame_data.h"
#include "column_info.h"
@@ -183,4 +187,8 @@ epan_get_compiled_version_info(GString *str);
void
epan_get_runtime_version_info(GString *str);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* EPAN_H */