From 22d849368f0e07ce5d2148a9ad760a16f2b64531 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 14 Apr 2024 22:46:53 +0200 Subject: Mark dst as restrict --- lib/unicode/string/u8upper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/unicode') 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, -- cgit v1.2.3