summaryrefslogtreecommitdiff
path: root/debug/strncpy_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/strncpy_chk.c')
-rw-r--r--debug/strncpy_chk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/debug/strncpy_chk.c b/debug/strncpy_chk.c
index 98e703da5e..9452356122 100644
--- a/debug/strncpy_chk.c
+++ b/debug/strncpy_chk.c
@@ -1,4 +1,4 @@
-/* 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.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,11 +20,7 @@
char *
-__strncpy_chk (s1, s2, n, s1len)
- char *s1;
- const char *s2;
- size_t n;
- size_t s1len;
+__strncpy_chk (char *s1, const char *s2, size_t n, size_t s1len)
{
if (__builtin_expect (s1len < n, 0))
__chk_fail ();