]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libiberty/memmove.c
Imported gcc-4.4.3
[msp430-gcc.git] / libiberty / memmove.c
index 3ec73208ca7314287455b2ac94461fa2cd252da9..06a24fc268851ebada95c4af53b0d1b89f84ee7a 100644 (file)
@@ -13,17 +13,12 @@ Copies @var{count} bytes from memory area @var{from} to memory area
 */
 
 #include <ansidecl.h>
-#ifdef __STDC__
 #include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
+
+void bcopy (const void*, void*, size_t);
 
 PTR
-memmove (s1, s2, n)
-     PTR s1;
-     const PTR s2;
-     size_t n;
+memmove (PTR s1, const PTR s2, size_t n)
 {
   bcopy (s2, s1, n);
   return s1;