summaryrefslogtreecommitdiff
path: root/debug/mempcpy_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/mempcpy_chk.c')
-rw-r--r--debug/mempcpy_chk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/debug/mempcpy_chk.c b/debug/mempcpy_chk.c
index 00a242ac47..0dc1ab6489 100644
--- a/debug/mempcpy_chk.c
+++ b/debug/mempcpy_chk.c
@@ -1,7 +1,7 @@
/* Copy memory to memory until the specified number of bytes
has been copied, return pointer to following byte, 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).
@@ -23,11 +23,7 @@
#include <memcopy.h>
void *
-__mempcpy_chk (dstpp, srcpp, len, dstlen)
- void *dstpp;
- const void *srcpp;
- size_t len;
- size_t dstlen;
+__mempcpy_chk (void *dstpp, const void *srcpp, size_t len, size_t dstlen)
{
if (__glibc_unlikely (dstlen < len))
__chk_fail ();