diff options
Diffstat (limited to 'newlib/libc/string/strndup.c')
-rw-r--r-- | newlib/libc/string/strndup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/string/strndup.c b/newlib/libc/string/strndup.c index c241ca5..3ac890a 100644 --- a/newlib/libc/string/strndup.c +++ b/newlib/libc/string/strndup.c @@ -6,8 +6,7 @@ #include <string.h> char * -_DEFUN (strndup, (str, n), - const char *str, +strndup (const char *str, size_t n) { return _strndup_r (_REENT, str, n); |