diff Python/strdup.c @ 13658:f79434ee41fa legacy-trunk

Mass ANSIfication of function definitions. Doesn't cover all 'extern' declarations yet, those come later.
author Thomas Wouters <thomas@python.org>
date Sat, 22 Jul 2000 18:47:25 +0000
parents 8efa37a770c6
children e7f6cef7a4cc
line wrap: on
line diff
--- a/Python/strdup.c	Sat Jul 22 18:45:06 2000 +0000
+++ b/Python/strdup.c	Sat Jul 22 18:47:25 2000 +0000
@@ -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);