diff options
Diffstat (limited to 'debug/memcpy_chk.c')
-rw-r--r-- | debug/memcpy_chk.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/debug/memcpy_chk.c b/debug/memcpy_chk.c index b240bf560f..04a1337099 100644 --- a/debug/memcpy_chk.c +++ b/debug/memcpy_chk.c @@ -1,6 +1,6 @@ /* Copy memory to memory until the specified number of bytes has been copied with error checking. Overlap is NOT handled correctly. - Copyright (C) 1991-2015 Free Software Foundation, Inc. + Copyright (C) 1991-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Torbjorn Granlund (tege@sics.se). @@ -22,11 +22,7 @@ #include <memcopy.h> void * -__memcpy_chk (dstpp, srcpp, len, dstlen) - void *dstpp; - const void *srcpp; - size_t len; - size_t dstlen; +__memcpy_chk (void *dstpp, const void *srcpp, size_t len, size_t dstlen) { if (__glibc_unlikely (dstlen < len)) __chk_fail (); |