aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.h
diff options
context:
space:
mode:
authorGravatar James Vega <jamessan@jamessan.com>2005-10-05 01:11:39 +1000
committerGravatar James Vega <jamessan@jamessan.com>2005-10-05 01:11:39 +1000
commite27664b13b11070e561fdd313ca0a5b9950c2c46 (patch)
treeef35a6b3fb51a462076e626c15ba1d3714ce0177 /highlight.h
parentc361d8564c6dc4b142d348b0f8053a9384b8e451 (diff)
Add header guards to the header files.
darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz
Diffstat (limited to 'highlight.h')
-rw-r--r--highlight.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/highlight.h b/highlight.h
index fbea36e5..f1f381b8 100644
--- a/highlight.h
+++ b/highlight.h
@@ -2,6 +2,13 @@
Prototypes for functions for syntax highlighting
*/
+#ifndef FISH_HIGHLIGHT_H
+#define FISH_HIGHLIGHT_H
+
+#include <wchar.h>
+
+#include "util.h"
+
/**
Perform syntax highlighting for the shell commands in buff. The result is
stored in the color array as a color_code from the HIGHLIGHT_ enum
@@ -37,3 +44,5 @@ void highlight_universal( wchar_t * buff, int *color, int pos, array_list_t *err
FISH_COLOR_RED.
*/
int highlight_get_color( int highlight );
+
+#endif