summaryrefslogtreecommitdiff
path: root/epan/to_str.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 3e2f137ab9..f9a49a7096 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -39,6 +39,10 @@
#define VINES_ADDR_LEN 6
#define EUI64_STR_LEN 24
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* These are utility functions which convert various types to strings,
* but for which no more specific module applies.
@@ -103,4 +107,8 @@ WS_DLL_PUBLIC const char *decode_numeric_bitfield(const guint32 val, const guint
WS_DLL_PUBLIC const gchar* port_type_to_str (port_type type);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __TO_STR_H__ */