summaryrefslogtreecommitdiff
path: root/gnu/lib/libiberty/src/memmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libiberty/src/memmove.c')
-rw-r--r--gnu/lib/libiberty/src/memmove.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/lib/libiberty/src/memmove.c b/gnu/lib/libiberty/src/memmove.c
index 00ac053401b..06a24fc2688 100644
--- a/gnu/lib/libiberty/src/memmove.c
+++ b/gnu/lib/libiberty/src/memmove.c
@@ -13,19 +13,12 @@ Copies @var{count} bytes from memory area @var{from} to memory area
*/
#include <ansidecl.h>
-#ifdef ANSI_PROTOTYPES
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
-void bcopy PARAMS ((const void*, void*, size_t));
+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;