Mercurial > hg > octave-lyh > gnulib-hg
changeset 2107:abbd94a7f136
(memcpy): Protoize.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 11 Jan 2000 14:05:28 +0000 |
parents | b8c4ab6a30fa |
children | 57cf4f9be1e9 |
files | lib/memcpy.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/memcpy.c +++ b/lib/memcpy.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,10 +25,7 @@ Return DESTADDR. */ char * -memcpy (destaddr, srcaddr, len) - char *destaddr; - const char *srcaddr; - int len; +memcpy (char *destaddr, const char *srcaddr, int len) { char *dest = destaddr;