summaryrefslogtreecommitdiffstats
path: root/Parser/pegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/pegen.c')
-rw-r--r--Parser/pegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/pegen.c b/Parser/pegen.c
index 94dd9de..b79ae4c 100644
--- a/Parser/pegen.c
+++ b/Parser/pegen.c
@@ -250,7 +250,7 @@ _PyPegen_fill_token(Parser *p)
#define memo_statistics _PyRuntime.parser.memo_statistics
void
-_PyPegen_clear_memo_statistics()
+_PyPegen_clear_memo_statistics(void)
{
for (int i = 0; i < NSTATISTICS; i++) {
memo_statistics[i] = 0;
@@ -258,7 +258,7 @@ _PyPegen_clear_memo_statistics()
}
PyObject *
-_PyPegen_get_memo_statistics()
+_PyPegen_get_memo_statistics(void)
{
PyObject *ret = PyList_New(NSTATISTICS);
if (ret == NULL) {