From de7b9608637baa02b4fb43d7d3b46ed246454044 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 8 Sep 2003 23:16:12 +0000 Subject: [PATCH] Include . (bcopy): Define with prototype, using 'const' and 'void' and 'size_t'. --- lib/bcopy.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/bcopy.c b/lib/bcopy.c index a8991c570..50a09f876 100644 --- a/lib/bcopy.c +++ b/lib/bcopy.c @@ -3,11 +3,13 @@ In the public domain. By David MacKenzie . */ +#include + void -bcopy (source, dest, length) - char *source, *dest; - unsigned length; +bcopy (void const *source0, void *dest0, size_t length) { + char const *source = source0; + char *dest = dest0; if (source < dest) /* Moving from low mem to hi mem; start at end. */ for (source += length, dest += length; length; --length) -- 2.11.0