summaryrefslogtreecommitdiff
path: root/color_filters.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
committerGerald Combs <gerald@wireshark.org>2011-12-29 00:08:47 +0000
commit6b178bd41548b561913be45a6ee649a497ec5d1f (patch)
tree81727fd787260953b047a6b711a1ebb3a6946684 /color_filters.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
downloadwireshark-6b178bd41548b561913be45a6ee649a497ec5d1f.tar.gz
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'color_filters.h')
-rw-r--r--color_filters.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/color_filters.h b/color_filters.h
index 5de7c23cf0..5d5c1ad1cf 100644
--- a/color_filters.h
+++ b/color_filters.h
@@ -24,6 +24,10 @@
#ifndef __COLOR_FILTERS_H__
#define __COLOR_FILTERS_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#define CONVERSATION_COLOR_PREFIX "___conversation_color_filter___"
/** @file
* Color filters.
@@ -190,6 +194,8 @@ void color_filter_delete(color_filter_t *colorf);
*/
void color_filter_list_delete(GSList **cfl);
-
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
#endif