]> granicus.if.org Git - python/commitdiff
Silence a warning from gcc 4.0.1 by specifying a function's parameter list is
authorBrett Cannon <bcannon@gmail.com>
Fri, 5 Jan 2007 21:45:09 +0000 (21:45 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 5 Jan 2007 21:45:09 +0000 (21:45 +0000)
'void' instead of just a set of empty parentheses.

Modules/main.c

index dc46d550c6e22641e57c223429a9dfbb4f482967..7594a762e02fe936a7e8e8c90d28d9ac4d100984 100644 (file)
@@ -183,7 +183,7 @@ static int RunModule(char *module)
    "threading" threads have completed. */
 #include "abstract.h"
 static void
-WaitForThreadShutdown()
+WaitForThreadShutdown(void)
 {
 #ifdef WITH_THREAD
        PyObject *result;