aboutsummaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-24 20:22:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-24 20:22:00 -0400
commit3d5944a732e34b6dd01921dee991dee54af47e18 (patch)
tree97d17a4e7feb97d367060a184907a6978352d5ec /utf8.h
parent20c11b29b3a63c221cac942a17bf9abcf8b9bafe (diff)
Autoformatting with clang-format
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/utf8.h b/utf8.h
index f5c251f..076658a 100644
--- a/utf8.h
+++ b/utf8.h
@@ -7,13 +7,9 @@
#define UTF8_MAXCHARLEN 4
-__attribute__((nonnull, pure))
-const char *next_char(const char *str, const char *end);
-__attribute__((nonnull, pure))
-const char *prev_char(const char *start, const char *str);
-__attribute__((nonnull, pure))
-bool isidstart(const char *str, const char *end);
-__attribute__((nonnull, pure))
-bool isidcontinue(const char *str, const char *end);
+__attribute__((nonnull, pure)) const char *next_char(const char *str, const char *end);
+__attribute__((nonnull, pure)) const char *prev_char(const char *start, const char *str);
+__attribute__((nonnull, pure)) bool isidstart(const char *str, const char *end);
+__attribute__((nonnull, pure)) bool isidcontinue(const char *str, const char *end);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0