summaryrefslogtreecommitdiff
path: root/lib/strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strdup.c')
-rw-r--r--lib/strdup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/strdup.c b/lib/strdup.c
index 4f6bb83e5..c0b05e2d1 100644
--- a/lib/strdup.c
+++ b/lib/strdup.c
@@ -31,8 +31,7 @@ char *strcpy ();
or 0 if out of memory. */
char *
-strdup (str)
- const char *str;
+strdup (const char *str)
{
char *newstr;