]> granicus.if.org Git - python/commitdiff
Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy.
authorGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:48:32 +0000 (18:48 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:48:32 +0000 (18:48 +0000)
Modules/sgimodule.c

index baffc70288531364f18175203803ee5e5d5cc410..49087b2b129ad3d72c917a754a0a8f5ab911efdf 100644 (file)
@@ -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 :-( */