From f70ef4f8606f99744252a804229d53a4d97601c1 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Sat, 22 Jul 2000 18:47:25 +0000 Subject: Mass ANSIfication of function definitions. Doesn't cover all 'extern' declarations yet, those come later. --- Python/strdup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Python/strdup.c') diff --git a/Python/strdup.c b/Python/strdup.c index 9168b4fe5d3..20187e0f0a7 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); -- cgit v1.2.3