summaryrefslogtreecommitdiffstats
path: root/Modules/sgimodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-09 18:48:32 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-09 18:48:32 (GMT)
commitcd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b (patch)
tree9626dacf6239ad99241b097d300cc5f7d2b2c725 /Modules/sgimodule.c
parent37273177be67ad1e27dabe2191bcf49244cab9d9 (diff)
downloadcpython-cd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b.zip
cpython-cd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b.tar.gz
cpython-cd165cc092f04f9c0a16c9e1fbc92fb7483f0f3b.tar.bz2
Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy.
Diffstat (limited to 'Modules/sgimodule.c')
-rw-r--r--Modules/sgimodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c
index baffc70..49087b2 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 :-( */