summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-11-09 09:56:47 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2018-11-09 09:56:47 +0000
commit5c5da29f919f3356fa71a4c375f4b162fe9e89c0 (patch)
tree8f311c0ea6bda25709962a38cd4895fb7749cc2b
parent346381e8b1902da6cb7be836bf3d4724628e9dbe (diff)
downloadlibwapcaplet-master.tar.gz
libwapcaplet-master.tar.bz2
Use restrict for lwc__lcase_memcpy too.HEADmaster
-rw-r--r--src/libwapcaplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwapcaplet.c b/src/libwapcaplet.c
index 403bf26..3ef0003 100644
--- a/src/libwapcaplet.c
+++ b/src/libwapcaplet.c
@@ -239,7 +239,7 @@ lwc__lcase_strncmp(const char *s1, const char *s2, size_t n)
}
static void
-lwc__lcase_memcpy(char *target, const char *source, size_t n)
+lwc__lcase_memcpy(char *restrict target, const char *restrict source, size_t n)
{
while (n--) {
*target++ = lwc__dolower(*source++);