ANSIfy as many declarations as possible.
diff --git a/Python/thread_lwp.h b/Python/thread_lwp.h
index 671387c..8858e91 100644
--- a/Python/thread_lwp.h
+++ b/Python/thread_lwp.h
@@ -106,7 +106,7 @@
 PyThread_type_lock PyThread_allocate_lock(void)
 {
 	struct lock *lock;
-	extern char *malloc();
+	extern char *malloc(size_t);
 
 	dprintf(("PyThread_allocate_lock called\n"));
 	if (!initialized)