File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1939,7 +1939,7 @@ PyLongWriter_Finish(PyLongWriter *writer)
1939
1939
static inline FILE* Py_fopen (PyObject *path, const char *mode)
1940
1940
{
1941
1941
#if 0x030400A2 <= PY_VERSION_HEX && !defined(PYPY_VERSION)
1942
- extern FILE* _Py_fopen_obj (PyObject *path, const char *mode);
1942
+ PyAPI_FUNC ( FILE*) _Py_fopen_obj (PyObject *path, const char *mode);
1943
1943
return _Py_fopen_obj (path, mode);
1944
1944
#else
1945
1945
FILE *f;
@@ -2109,7 +2109,7 @@ PyConfig_Get(const char *name)
2109
2109
return Py_NewRef (value);
2110
2110
}
2111
2111
2112
- extern const PyConfig* _Py_GetConfig (void );
2112
+ PyAPI_FUNC ( const PyConfig*) _Py_GetConfig (void );
2113
2113
const PyConfig *config = _Py_GetConfig ();
2114
2114
void *member = (char *)config + spec->offset ;
2115
2115
switch (spec->type ) {
You can’t perform that action at this time.
0 commit comments