Skip to content

Commit

Permalink
Fix multiple definitions for Py_fclose (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Jan 26, 2025
1 parent 03043e3 commit d24c201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -1968,7 +1968,7 @@ static inline FILE* Py_fopen(PyObject *path, const char *mode)
#endif
}

int Py_fclose(FILE *file)
static inline int Py_fclose(FILE *file)
{
return fclose(file);
}
Expand Down

0 comments on commit d24c201

Please sign in to comment.