diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-09-12 10:33:44 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-09-12 10:40:45 -0700 |
commit | b21f3d99eeee630889b5d235cd3af646d620a6a9 (patch) | |
tree | a44be668e2beaee79da3ece92f1ac05e0ed4a7a6 /Modules | |
parent | f52237400b9960d434c5d0676a3479b8c1e8c869 (diff) | |
download | cpython-git-benjamin-pyapi.tar.gz |
closes bpo-34646: Remove PyAPI_* macros from declarations.benjamin-pyapi
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_io/winconsoleio.c | 2 | ||||
-rw-r--r-- | Modules/posixmodule.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_io/winconsoleio.c b/Modules/_io/winconsoleio.c index f08406643f..13342ec239 100644 --- a/Modules/_io/winconsoleio.c +++ b/Modules/_io/winconsoleio.c @@ -1170,6 +1170,6 @@ PyTypeObject PyWindowsConsoleIO_Type = { 0, /* tp_finalize */ }; -PyAPI_DATA(PyObject *) _PyWindowsConsoleIO_Type = (PyObject*)&PyWindowsConsoleIO_Type; +PyObject * _PyWindowsConsoleIO_Type = (PyObject*)&PyWindowsConsoleIO_Type; #endif /* MS_WINDOWS */ diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index c5d9a17b00..48bd5dc394 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -488,8 +488,8 @@ PyOS_AfterFork(void) #ifdef MS_WINDOWS /* defined in fileutils.c */ -PyAPI_FUNC(void) _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *); -PyAPI_FUNC(void) _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *, +void _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *); +void _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *, ULONG, struct _Py_stat_struct *); #endif |