aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-14 22:46:53 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-14 22:46:53 +0200
commit22d849368f0e07ce5d2148a9ad760a16f2b64531 (patch)
treece6bf8984edee95a3eb2879cf8502f971069e164 /lib
parentc5aadf2882db86cda2def39c747642b9b88022b3 (diff)
Mark dst as restrict
Diffstat (limited to 'lib')
-rw-r--r--lib/unicode/string/u8upper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/unicode/string/u8upper.c b/lib/unicode/string/u8upper.c
index df4a086..d860d3a 100644
--- a/lib/unicode/string/u8upper.c
+++ b/lib/unicode/string/u8upper.c
@@ -3,8 +3,8 @@
#include "unicode/string.h"
size_t
-u8upper(char8_t *dst, size_t dstn, const char8_t *src, size_t srcn,
- enum upper_flags flags)
+u8upper(char8_t *restrict dst, size_t dstn, const char8_t *src, size_t srcn,
+ enum caseflags flags)
{
struct ucctx ctx = {
.az_or_tr = flags & UF_LANG_AZ,