fix compiler warning

This commit is contained in:
Benjamin Peterson 2008-10-19 13:59:01 +00:00
parent 35e01fbeaa
commit aff36f1295
2 changed files with 2 additions and 2 deletions

View file

@ -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)