From: Guido van Rossum Date: Mon, 9 Dec 1996 18:48:32 +0000 (+0000) Subject: Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. X-Git-Tag: v1.5a1~854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b;p=thirdparty%2FPython%2Fcpython.git Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. --- diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c index baffc7028853..49087b2b129a 100644 --- a/Modules/sgimodule.c +++ b/Modules/sgimodule.c @@ -92,4 +92,5 @@ initsgi() initmodule("sgi", sgi_methods); } -static int dummy; /* $%#@!& dl wants at least a byte of bss */ +int _Py_sgi_dummy; /* $%#@!& dl wants at least a byte of bss */ +/* And gcc -Wall doesn't like unused static variables :-( */