summaryrefslogtreecommitdiffstats
path: root/Python/strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/strdup.c')
-rw-r--r--Python/strdup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/strdup.c b/Python/strdup.c
index 9168b4f..20187e0 100644
--- a/Python/strdup.c
+++ b/Python/strdup.c
@@ -3,8 +3,7 @@
#include "pgenheaders.h"
char *
-strdup(str)
- const char *str;
+strdup(const char *str)
{
if (str != NULL) {
register char *copy = malloc(strlen(str) + 1);