aboutsummaryrefslogtreecommitdiffstats
path: root/color.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.h
parentcb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff)
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'color.h')
-rw-r--r--color.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/color.h b/color.h
index 622b6ab7f1..7a55cf66ed 100644
--- a/color.h
+++ b/color.h
@@ -25,6 +25,10 @@
#ifndef __COLOR_H__
#define __COLOR_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Data structure holding RGB value for a color.
*
@@ -52,4 +56,8 @@ typedef struct {
*/
gboolean initialize_color(color_t *color, guint16 red, guint16 green, guint16 blue);
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __COLOR_H__ */