From: Brett Cannon Date: Fri, 5 Jan 2007 21:45:09 +0000 (+0000) Subject: Silence a warning from gcc 4.0.1 by specifying a function's parameter list is X-Git-Tag: v2.6a1~2313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d14ef77ae1d455369f12b3d483c36323663d2fa3;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Modules/main.c b/Modules/main.c index dc46d550c6e2..7594a762e02f 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -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;