diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-02-01 21:03:29 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-02-01 21:03:29 +0000 |
commit | 793eee70d0496614d524a688f5ad140ec61d5b07 (patch) | |
tree | b862c5bdd62df1e026af559ccbae9fdd7d551481 /epan/expert.h | |
parent | ce2a2e50e6e7262214cc6fb6e0dad28f831f0f06 (diff) |
From John Thacker via bug #5644: Can't include expert.h in C++ code
svn path=/trunk/; revision=35742
Diffstat (limited to 'epan/expert.h')
-rw-r--r-- | epan/expert.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/expert.h b/epan/expert.h index 9afc9cca5f..62d5ba98ff 100644 --- a/epan/expert.h +++ b/epan/expert.h @@ -30,6 +30,9 @@ #include <epan/proto.h> #include "value_string.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ /** only for internal and display use. */ typedef struct expert_info_s { @@ -66,4 +69,8 @@ expert_add_info_format(packet_info *pinfo, proto_item *pi, int group, int severity, const char *format, ...) G_GNUC_PRINTF(5, 6); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __EXPERT_H__ */ |