X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=libiberty%2Fmemcpy.c;fp=libiberty%2Fmemcpy.c;h=9b5b24295df6c5e1a7e85264b7287f97e52a1a32;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0f2bac7ac2c8a28fe9035587e9a18b9967dee3cb;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libiberty/memcpy.c b/libiberty/memcpy.c index 0f2bac7a..9b5b2429 100644 --- a/libiberty/memcpy.c +++ b/libiberty/memcpy.c @@ -13,14 +13,12 @@ Copies @var{length} bytes from memory region @var{in} to region */ #include -#ifdef __STDC__ #include -#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;