[Python-checkins] r53279 - python/trunk/Modules/main.c

brett.cannon python-checkins at python.org
Fri Jan 5 22:45:10 CET 2007


Author: brett.cannon
Date: Fri Jan  5 22:45:09 2007
New Revision: 53279

Modified:
   python/trunk/Modules/main.c
Log:
Silence a warning from gcc 4.0.1 by specifying a function's parameter list is
'void' instead of just a set of empty parentheses.


Modified: python/trunk/Modules/main.c
==============================================================================
--- python/trunk/Modules/main.c	(original)
+++ python/trunk/Modules/main.c	Fri Jan  5 22:45:09 2007
@@ -183,7 +183,7 @@
    "threading" threads have completed. */
 #include "abstract.h"
 static void
-WaitForThreadShutdown()
+WaitForThreadShutdown(void)
 {
 #ifdef WITH_THREAD
 	PyObject *result;


More information about the Python-checkins mailing list