Skip to content

Commit acacc9e

Browse files
authored
[mypyc] Fix C function signature (#19773)
1 parent 0afa33d commit acacc9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/CPy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ typedef struct tuple_T4CIOO {
6767
// System-wide empty tuple constant
6868
extern PyObject * __mypyc_empty_tuple__;
6969

70-
static inline PyObject *CPyTuple_LoadEmptyTupleConstant() {
70+
static inline PyObject *CPyTuple_LoadEmptyTupleConstant(void) {
7171
#if !CPY_3_12_FEATURES
7272
Py_INCREF(__mypyc_empty_tuple__);
7373
#endif

0 commit comments

Comments
 (0)