This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch v2 add restrict to string.h methods


Thanks Sebastian.

Attached is v3. OK this time?

On 7/19/2013 8:37 AM, Sebastian Huber wrote:
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.



--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

Attachment: string-v3.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]