summaryrefslogtreecommitdiff
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
committerDaniel Gerzo <danger@FreeBSD.org>2009-02-03 17:58:20 +0000
commitbd604b4b064135e661660c045cd31145e2e4ce71 (patch)
treec5d6de4ed720c8bb5b4d132f30cd8fbd28bbeb81 /lib/libc/string/strdup.c
parent23ee18767ede4614aedbe8645e896f0194f3500c (diff)
Notes
Diffstat (limited to 'lib/libc/string/strdup.c')
-rw-r--r--lib/libc/string/strdup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c
index c0b581d40179..570ad838527d 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;