From 6b178bd41548b561913be45a6ee649a497ec5d1f Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 29 Dec 2011 00:08:47 +0000 Subject: Add 'extern "C"' wrappers and #include guards to various header files. svn path=/trunk/; revision=40321 --- epan/epan_dissect.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'epan/epan_dissect.h') diff --git a/epan/epan_dissect.h b/epan/epan_dissect.h index 5b0f2d9345..96ea52324f 100644 --- a/epan/epan_dissect.h +++ b/epan/epan_dissect.h @@ -24,6 +24,10 @@ #ifndef EPAN_DISSECT_H #define EPAN_DISSECT_H +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include "tvbuff.h" #include "proto.h" #include "packet_info.h" @@ -40,5 +44,8 @@ struct _epan_dissect_t { packet_info pi; }; +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif /* EPAN_DISSECT_H */ -- cgit v1.2.3