* corefile.c (core_create_syms_from): Use BFD_VMA_FMT when
[binutils-gdb.git] / libiberty / memcpy.c
index 5eece7a0a0015c2535d50c58e03a33e16129519c..9b5b24295df6c5e1a7e85264b7287f97e52a1a32 100644 (file)
@@ -13,19 +13,12 @@ Copies @var{length} bytes from memory region @var{in} to region
 */
 
 #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
-memcpy (out, in, length)
-     PTR out;
-     const PTR in;
-     size_t length;
+memcpy (PTR out, const PTR in, size_t length)
 {
     bcopy(in, out, length);
     return out;