aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
committerBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
commit3ed2c195940de9fd2aa320147d1beaa8a0c98654 (patch)
tree9b87c3945fdfa986c6be77c77a8740f7d773ff0f /utf8.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/utf8.h b/utf8.h
index 243acd3..f5c251f 100644
--- a/utf8.h
+++ b/utf8.h
@@ -1,8 +1,7 @@
//
// utf8.h - UTF8 helper functions
//
-#ifndef UTF8__H
-#define UTF8__H
+#pragma once
#include <stdbool.h>
@@ -17,5 +16,4 @@ bool isidstart(const char *str, const char *end);
__attribute__((nonnull, pure))
bool isidcontinue(const char *str, const char *end);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0