From: Jim Meyering Date: Wed, 10 Sep 2003 08:29:31 +0000 (+0000) Subject: Include . X-Git-Tag: v5.1.0~785 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a57cb0b077a90916ca251c098fc89cd20f33c232;p=thirdparty%2Fcoreutils.git Include . (bcopy): Define with prototype, using 'const' and 'void' and 'size_t'. --- diff --git a/lib/bcopy.c b/lib/bcopy.c index a8991c570d..50a09f8764 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)