From 04879eae7990cb8788938291ac6a5a56217d78ea Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 29 Apr 2020 20:49:56 +0200 Subject: reverse_text: use restrict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libskrift_draw_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libskrift_draw_text.c b/libskrift_draw_text.c index cce2991..356468d 100644 --- a/libskrift_draw_text.c +++ b/libskrift_draw_text.c @@ -2,7 +2,7 @@ #include "common.h" static void -reverse_text(const char *text, char *s, size_t off) +reverse_text(const char *restrict text, char *restrict s, size_t off) { size_t n; s[off] = '\0'; -- cgit v1.2.3-70-g09d2