summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-10-19 13:59:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-10-19 13:59:01 (GMT)
commitaff36f129563b0693e220d0fc83fb23c7e78c583 (patch)
tree4fd55f2174946603aa4dc43ba40cfdb1a120aef7 /Python/Python-ast.c
parent35e01fbeaab6a1d7ce63b974677b823a7e3228ff (diff)
downloadcpython-aff36f129563b0693e220d0fc83fb23c7e78c583.zip
cpython-aff36f129563b0693e220d0fc83fb23c7e78c583.tar.gz
cpython-aff36f129563b0693e220d0fc83fb23c7e78c583.tar.bz2
fix compiler warning
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index cabc666..4a999d1 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -615,7 +615,7 @@ static int obj2ast_bool(PyObject* obj, bool* out, PyArena* arena)
return 0;
}
-static int add_ast_fields()
+static int add_ast_fields(void)
{
PyObject *empty_tuple, *d;
if (PyType_Ready(&AST_type) < 0)