summaryrefslogtreecommitdiffhomepage
path: root/src/hexcolour.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2024-01-22 00:16:25 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2024-01-22 00:17:38 +0000
commit1ef70c93e014ff66c0f163be397df67cd459fde2 (patch)
treebe98eb2ebb266ed14f357eace8348be565dbc0b3 /src/hexcolour.h
parentb8aed3ed1b68ab30bbecb83a746a1fdc5b78a464 (diff)
Re-learn how to write C headers, apparently
Diffstat (limited to 'src/hexcolour.h')
-rw-r--r--src/hexcolour.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hexcolour.h b/src/hexcolour.h
index def95f4..49f423c 100644
--- a/src/hexcolour.h
+++ b/src/hexcolour.h
@@ -14,6 +14,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef INC_HEXCOLOUR_H
+#define INC_HEXCOLOUR_H
+
#include "intdefs.h"
/*
@@ -33,4 +36,6 @@ void hexcolour_rgb(uchar out[static 4], const char *s);
*/
void hexcolour_rgba(uchar out[static 4], const char *s);
+#endif
+
// vi: sw=4 ts=4 noet tw=80 cc=80