diff Python/Python-ast.c @ 49552:2e38ca709b1d legacy-trunk

fix compiler warning
author Benjamin Peterson <benjamin@python.org>
date Sun, 19 Oct 2008 13:59:01 +0000
parents dbd54bac0b6f
children 40c8c35492f1
line wrap: on
line diff
--- a/Python/Python-ast.c	Sun Oct 19 08:27:43 2008 +0000
+++ b/Python/Python-ast.c	Sun Oct 19 13:59:01 2008 +0000
@@ -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)