From 567f95688269e7255bce779c44d93ed587867086 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 14 Nov 2015 02:35:25 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/slibc-human/escape.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2