From 0faf86e75ee635e398c66229953f68168bf5e4c8 Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Mon, 1 Sep 2025 09:48:46 +0100 Subject: [PATCH] [mypyc] Fix C function signature --- mypyc/lib-rt/CPy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypyc/lib-rt/CPy.h b/mypyc/lib-rt/CPy.h index b4d3a0013ae7..5dec7509ac7b 100644 --- a/mypyc/lib-rt/CPy.h +++ b/mypyc/lib-rt/CPy.h @@ -67,7 +67,7 @@ typedef struct tuple_T4CIOO { // System-wide empty tuple constant extern PyObject * __mypyc_empty_tuple__; -static inline PyObject *CPyTuple_LoadEmptyTupleConstant() { +static inline PyObject *CPyTuple_LoadEmptyTupleConstant(void) { #if !CPY_3_12_FEATURES Py_INCREF(__mypyc_empty_tuple__); #endif