From John Thacker via bug #5644: Can't include expert.h in C++ code

svn path=/trunk/; revision=35742
This commit is contained in:
Stephen Fisher 2011-02-01 21:03:29 +00:00
parent ce2a2e50e6
commit 793eee70d0
1 changed files with 7 additions and 0 deletions

View File

@ -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__ */