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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/debug/strncpy_chk.c b/debug/strncpy_chk.c
index 98e703da5e..02b866c87b 100644
--- a/debug/strncpy_chk.c
+++ b/debug/strncpy_chk.c
@@ -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 ();