aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-tcp.h8
-rw-r--r--epan/follow.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h
index 88b84cda43..4070acc289 100644
--- a/epan/dissectors/packet-tcp.h
+++ b/epan/dissectors/packet-tcp.h
@@ -24,6 +24,10 @@
#ifndef __PACKET_TCP_H__
#define __PACKET_TCP_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include "ws_symbol_export.h"
#ifndef __CONVERSATION_H__
@@ -287,4 +291,8 @@ extern gboolean decode_tcp_ports(tvbuff_t *, int, packet_info *, proto_tree *, i
*/
extern void add_tcp_process_info(guint32 frame_num, address *local_addr, address *remote_addr, guint16 local_port, guint16 remote_port, guint32 uid, guint32 pid, gchar *username, gchar *command);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif
diff --git a/epan/follow.h b/epan/follow.h
index 585ea07438..cd92221aa5 100644
--- a/epan/follow.h
+++ b/epan/follow.h
@@ -27,6 +27,10 @@
#ifndef __FOLLOW_H__
#define __FOLLOW_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <epan/packet.h>
#include "ws_symbol_export.h"
@@ -63,4 +67,8 @@ typedef struct {
WS_DLL_PUBLIC
void follow_stats(follow_stats_t* stats);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif