summaryrefslogtreecommitdiffstats
path: root/Modules/cgen.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-09 18:51:51 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-09 18:51:51 (GMT)
commit7ce52be62748582247754c2cbb88bb81e39b6b98 (patch)
treeb39d191108619b94bed46783fdc6a06257be7995 /Modules/cgen.py
parent665f9198fed28ac94cbf69daf706ddec0203f980 (diff)
downloadcpython-7ce52be62748582247754c2cbb88bb81e39b6b98.zip
cpython-7ce52be62748582247754c2cbb88bb81e39b6b98.tar.gz
cpython-7ce52be62748582247754c2cbb88bb81e39b6b98.tar.bz2
Added `void' to declaration of initgl(), to keep gcc -Wall happy.
Diffstat (limited to 'Modules/cgen.py')
-rw-r--r--Modules/cgen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/cgen.py b/Modules/cgen.py
index ce28702..d31db87 100644
--- a/Modules/cgen.py
+++ b/Modules/cgen.py
@@ -533,6 +533,7 @@ for func in functions:
print '\t{NULL, NULL} /* Sentinel */'
print '};'
print
+print 'void'
print 'initgl()'
print '{'
print '\tinitmodule("gl", gl_methods);'