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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b;p=python Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. --- diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c index baffc70288..49087b2b12 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 :-( */