aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-05 16:15:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-05 16:15:49 +0000
commit52f1f44897fa0025cc0482a5dd348c6aa0ec1a2d (patch)
tree19612f8a63c25f66baf8eacad28931f2d302765f /misc.h
parentMerge branch 'config-no-null-strings-in-printf' (diff)
parentchar32: inline wcs*() wrappers (diff)
Merge branch 'fcft-3'
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.h b/misc.h
index 9bbc4744..ba8b2ce7 100644
--- a/misc.h
+++ b/misc.h
@@ -1,9 +1,9 @@
#pragma once
#include <stdbool.h>
-#include <wchar.h>
+#include <uchar.h>
#include <time.h>
-bool isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters);
+bool isword(char32_t wc, bool spaces_only, const char32_t *delimiters);
void timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *res);