This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: patch v2 add restrict to string.h methods
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Fri, 19 Jul 2013 15:37:54 +0200
- Subject: Re: patch v2 add restrict to string.h methods
- References: <51E93F7C dot 6070504 at oarcorp dot com>
On 2013-07-19 15:30, Joel Sherrill wrote:
Index: libc/machine/xscale/memcpy.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/machine/xscale/memcpy.c,v
retrieving revision 1.2
diff -u -r1.2 memcpy.c
--- libc/machine/xscale/memcpy.c 20 Apr 2002 00:29:51 -0000 1.2
+++ libc/machine/xscale/memcpy.c 19 Jul 2013 13:16:15 -0000
@@ -8,7 +8,7 @@
#include "xscale.h"
void *
-memcpy (void *dst0, const void *src0, size_t len)
+memcpy (void *_restrict dst0, const void *_restrict src0, size_t len)
This should be __restrict.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.