From Josip Medved:
[obnox/wireshark/wip.git] / color.h
diff --git a/color.h b/color.h
index 6806e897e18283f0134c62d384c5dc59af3cec47..7a55cf66edf53faf0a10dd381e127d813913c74f 100644 (file)
--- a/color.h
+++ b/color.h
@@ -3,8 +3,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
 #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__ */