aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorLukas Fürmetz <fuermetz@mailbox.org>2017-11-21 14:04:11 +0100
committerLukas Fürmetz <fuermetz@mailbox.org>2017-11-21 21:38:32 +0100
commit53415af332e5e30e4910b05ebdb88d478a387eba (patch)
treefd4c7e4c6b1456b865d131a8a05b74152b4ed8f0 /utf8.h
parent40a8656c8749f3f2fc213f8358fd0deda0154ea5 (diff)
Add include guards to header files
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 4acf955..8ec5f3e 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,3 +1,6 @@
+#ifndef UTF8_H
+#define UTF8_H
+
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
@@ -5,3 +8,5 @@
size_t codepoint_to_utf8(const uint32_t codepoint, unsigned char buffer[4]);
bool utf8_to_codepoint(const unsigned char buffer[4], const size_t len,
uint32_t *codepoint);
+
+#endif /* UTF8_H */