@@ -158,7 +158,7 @@ PyDoc_STRVAR(_io_BytesIO_read__doc__,
158158"Return an empty bytes object at EOF." );
159159
160160#define _IO_BYTESIO_READ_METHODDEF \
161- {"read", (PyCFunction)(void * )_io_BytesIO_read, METH_FASTCALL, _io_BytesIO_read__doc__},
161+ {"read", (PyCFunction)(void(*)(void) )_io_BytesIO_read, METH_FASTCALL, _io_BytesIO_read__doc__},
162162
163163static PyObject *
164164_io_BytesIO_read_impl (bytesio * self , Py_ssize_t size );
@@ -189,7 +189,7 @@ PyDoc_STRVAR(_io_BytesIO_read1__doc__,
189189"Return an empty bytes object at EOF." );
190190
191191#define _IO_BYTESIO_READ1_METHODDEF \
192- {"read1", (PyCFunction)(void * )_io_BytesIO_read1, METH_FASTCALL, _io_BytesIO_read1__doc__},
192+ {"read1", (PyCFunction)(void(*)(void) )_io_BytesIO_read1, METH_FASTCALL, _io_BytesIO_read1__doc__},
193193
194194static PyObject *
195195_io_BytesIO_read1_impl (bytesio * self , Py_ssize_t size );
@@ -221,7 +221,7 @@ PyDoc_STRVAR(_io_BytesIO_readline__doc__,
221221"Return an empty bytes object at EOF." );
222222
223223#define _IO_BYTESIO_READLINE_METHODDEF \
224- {"readline", (PyCFunction)(void * )_io_BytesIO_readline, METH_FASTCALL, _io_BytesIO_readline__doc__},
224+ {"readline", (PyCFunction)(void(*)(void) )_io_BytesIO_readline, METH_FASTCALL, _io_BytesIO_readline__doc__},
225225
226226static PyObject *
227227_io_BytesIO_readline_impl (bytesio * self , Py_ssize_t size );
@@ -253,7 +253,7 @@ PyDoc_STRVAR(_io_BytesIO_readlines__doc__,
253253"total number of bytes in the lines returned." );
254254
255255#define _IO_BYTESIO_READLINES_METHODDEF \
256- {"readlines", (PyCFunction)(void * )_io_BytesIO_readlines, METH_FASTCALL, _io_BytesIO_readlines__doc__},
256+ {"readlines", (PyCFunction)(void(*)(void) )_io_BytesIO_readlines, METH_FASTCALL, _io_BytesIO_readlines__doc__},
257257
258258static PyObject *
259259_io_BytesIO_readlines_impl (bytesio * self , PyObject * arg );
@@ -320,7 +320,7 @@ PyDoc_STRVAR(_io_BytesIO_truncate__doc__,
320320"The current file position is unchanged. Returns the new size." );
321321
322322#define _IO_BYTESIO_TRUNCATE_METHODDEF \
323- {"truncate", (PyCFunction)(void * )_io_BytesIO_truncate, METH_FASTCALL, _io_BytesIO_truncate__doc__},
323+ {"truncate", (PyCFunction)(void(*)(void) )_io_BytesIO_truncate, METH_FASTCALL, _io_BytesIO_truncate__doc__},
324324
325325static PyObject *
326326_io_BytesIO_truncate_impl (bytesio * self , Py_ssize_t size );
@@ -354,7 +354,7 @@ PyDoc_STRVAR(_io_BytesIO_seek__doc__,
354354"Returns the new absolute position." );
355355
356356#define _IO_BYTESIO_SEEK_METHODDEF \
357- {"seek", (PyCFunction)(void * )_io_BytesIO_seek, METH_FASTCALL, _io_BytesIO_seek__doc__},
357+ {"seek", (PyCFunction)(void(*)(void) )_io_BytesIO_seek, METH_FASTCALL, _io_BytesIO_seek__doc__},
358358
359359static PyObject *
360360_io_BytesIO_seek_impl (bytesio * self , Py_ssize_t pos , int whence );
@@ -444,4 +444,4 @@ _io_BytesIO___init__(PyObject *self, PyObject *args, PyObject *kwargs)
444444exit :
445445 return return_value ;
446446}
447- /*[clinic end generated code: output=9f628dcc1d2f3867 input=a9049054013a1b77]*/
447+ /*[clinic end generated code: output=89538a941ae1267a input=a9049054013a1b77]*/
0 commit comments