summaryrefslogtreecommitdiff
path: root/libiberty/memmove.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2003-04-15 03:53:53 +0000
committerDJ Delorie <dj@delorie.com>2003-04-15 03:53:53 +0000
commit4fd98ad3e5110a257df2ae36b711b25c617e642b (patch)
treea1a20d008772a71922d931b9668f91d690bb08b2 /libiberty/memmove.c
parent7c1bb6021fb2da764d8371b354008b1c7e077e2f (diff)
downloadgdb-4fd98ad3e5110a257df2ae36b711b25c617e642b.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/memmove.c')
-rw-r--r--libiberty/memmove.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/memmove.c b/libiberty/memmove.c
index 3ec73208ca7..00ac053401b 100644
--- a/libiberty/memmove.c
+++ b/libiberty/memmove.c
@@ -13,12 +13,14 @@ Copies @var{count} bytes from memory area @var{from} to memory area
*/
#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
memmove (s1, s2, n)
PTR s1;