Skip to content

Commit d24c201

Browse files
authored
Fix multiple definitions for Py_fclose (#130)
1 parent 03043e3 commit d24c201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythoncapi_compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ static inline FILE* Py_fopen(PyObject *path, const char *mode)
19681968
#endif
19691969
}
19701970

1971-
int Py_fclose(FILE *file)
1971+
static inline int Py_fclose(FILE *file)
19721972
{
19731973
return fclose(file);
19741974
}

0 commit comments

Comments
 (0)