[Python-checkins] r66974 - in python/trunk: Parser/asdl_c.py Python/Python-ast.c
benjamin.peterson
python-checkins at python.org
Sun Oct 19 15:59:01 CEST 2008
Author: benjamin.peterson
Date: Sun Oct 19 15:59:01 2008
New Revision: 66974
Log:
fix compiler warning
Modified:
python/trunk/Parser/asdl_c.py
python/trunk/Python/Python-ast.c
Modified: python/trunk/Parser/asdl_c.py
==============================================================================
--- python/trunk/Parser/asdl_c.py (original)
+++ python/trunk/Parser/asdl_c.py Sun Oct 19 15:59:01 2008
@@ -824,7 +824,7 @@
return 0;
}
-static int add_ast_fields()
+static int add_ast_fields(void)
{
PyObject *empty_tuple, *d;
if (PyType_Ready(&AST_type) < 0)
Modified: python/trunk/Python/Python-ast.c
==============================================================================
--- python/trunk/Python/Python-ast.c (original)
+++ python/trunk/Python/Python-ast.c Sun Oct 19 15:59:01 2008
@@ -615,7 +615,7 @@
return 0;
}
-static int add_ast_fields()
+static int add_ast_fields(void)
{
PyObject *empty_tuple, *d;
if (PyType_Ready(&AST_type) < 0)
More information about the Python-checkins
mailing list