aboutsummaryrefslogtreecommitdiffstats
path: root/src/slibc-human
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/slibc-human/escape.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slibc-human/escape.c b/src/slibc-human/escape.c
index ea93108..e3be732 100644
--- a/src/slibc-human/escape.c
+++ b/src/slibc-human/escape.c
@@ -37,11 +37,11 @@
* @throws EINVAL If `quote` is invalid.
* @throws ENOMEM The process cannot allocate more memory.
*/
-char* escape(const char* str, char quote)
+char* escape(const char* restrict str, char quote)
{
- char* r;
- char* w;
- char* rc;
+ const char* restrict r;
+ char* restrict w;
+ char* restrict rc;
size_t extra = 1, len, size;
unsigned char c;