diff options
Diffstat (limited to 'lib/libc/string/strdup.c')
-rw-r--r-- | lib/libc/string/strdup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c index c0b581d..570ad83 100644 --- a/lib/libc/string/strdup.c +++ b/lib/libc/string/strdup.c @@ -38,8 +38,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> char * -strdup(str) - const char *str; +strdup(const char *str) { size_t len; char *copy; |