diff options
author | DJ Delorie <dj@redhat.com> | 2003-04-15 03:53:53 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2003-04-15 03:53:53 +0000 |
commit | 7ec2fc6f764fef9000cc768516df04035c85ebac (patch) | |
tree | b85799f938b5659b5ce403f577ee4d4403321f53 /libiberty/memcpy.c | |
parent | eec539c7798006fabf0ceeeac3e64593daed85a7 (diff) | |
download | binutils-gdb-7ec2fc6f764fef9000cc768516df04035c85ebac.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/memcpy.c')
-rw-r--r-- | libiberty/memcpy.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/memcpy.c b/libiberty/memcpy.c index 0f2bac7ac2c..5eece7a0a00 100644 --- a/libiberty/memcpy.c +++ b/libiberty/memcpy.c @@ -13,14 +13,19 @@ Copies @var{length} bytes from memory region @var{in} to region */ #include <ansidecl.h> -#ifdef __STDC__ +#ifdef ANSI_PROTOTYPES #include <stddef.h> #else #define size_t unsigned long #endif +void bcopy PARAMS((const void*, void*, size_t)); + PTR -DEFUN(memcpy, (out, in, length), PTR out AND const PTR in AND size_t length) +memcpy (out, in, length) + PTR out; + const PTR in; + size_t length; { bcopy(in, out, length); return out; |