]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libiberty/memcpy.c
Imported gcc-4.4.3
[msp430-gcc.git] / libiberty / memcpy.c
index 0f2bac7ac2c8a28fe9035587e9a18b9967dee3cb..9b5b24295df6c5e1a7e85264b7287f97e52a1a32 100644 (file)
@@ -13,14 +13,12 @@ Copies @var{length} bytes from memory region @var{in} to region
 */
 
 #include <ansidecl.h>
-#ifdef __STDC__
 #include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
+
+void bcopy (const void*, void*, size_t);
 
 PTR
-DEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length)
+memcpy (PTR out, const PTR in, size_t length)
 {
     bcopy(in, out, length);
     return out;