Gitweb links:
...log
http://git.netsurf-browser.org/libwapcaplet.git/shortlog/5c5da29f919f3356...
...commit
http://git.netsurf-browser.org/libwapcaplet.git/commit/5c5da29f919f3356fa...
...tree
http://git.netsurf-browser.org/libwapcaplet.git/tree/5c5da29f919f3356fa71...
The branch, master has been updated
via 5c5da29f919f3356fa71a4c375f4b162fe9e89c0 (commit)
from 346381e8b1902da6cb7be836bf3d4724628e9dbe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libwapcaplet.git/commit/?id=5c5da29f919f33...
commit 5c5da29f919f3356fa71a4c375f4b162fe9e89c0
Author: Michael Drake <michael.drake(a)codethink.co.uk>
Commit: Michael Drake <michael.drake(a)codethink.co.uk>
Use restrict for lwc__lcase_memcpy too.
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++);
-----------------------------------------------------------------------
Summary of changes:
src/libwapcaplet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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++);
--
String internment library