@@ -1204,7 +1204,7 @@ _getpalette(ImagingObject *self, PyObject *args) {
12041204}
12051205
12061206static PyObject *
1207- _getpalettemode (ImagingObject * self ) {
1207+ _getpalettemode (ImagingObject * self , PyObject * args ) {
12081208 if (!self -> image -> palette ) {
12091209 PyErr_SetString (PyExc_ValueError , no_palette );
12101210 return NULL ;
@@ -2253,7 +2253,7 @@ _box_blur(ImagingObject *self, PyObject *args) {
22532253/* -------------------------------------------------------------------- */
22542254
22552255static PyObject *
2256- _isblock (ImagingObject * self ) {
2256+ _isblock (ImagingObject * self , PyObject * args ) {
22572257 return PyBool_FromLong (self -> image -> block != NULL );
22582258}
22592259
@@ -2318,7 +2318,7 @@ _getcolors(ImagingObject *self, PyObject *args) {
23182318}
23192319
23202320static PyObject *
2321- _getextrema (ImagingObject * self ) {
2321+ _getextrema (ImagingObject * self , PyObject * args ) {
23222322 union {
23232323 UINT8 u [2 ];
23242324 INT32 i [2 ];
@@ -2351,7 +2351,7 @@ _getextrema(ImagingObject *self) {
23512351}
23522352
23532353static PyObject *
2354- _getprojection (ImagingObject * self ) {
2354+ _getprojection (ImagingObject * self , PyObject * args ) {
23552355 unsigned char * xprofile ;
23562356 unsigned char * yprofile ;
23572357 PyObject * result ;
@@ -2477,7 +2477,7 @@ _merge(PyObject *self, PyObject *args) {
24772477}
24782478
24792479static PyObject *
2480- _split (ImagingObject * self ) {
2480+ _split (ImagingObject * self , PyObject * args ) {
24812481 Py_ssize_t i ;
24822482 PyObject * list ;
24832483 PyObject * imaging_object ;
@@ -2506,7 +2506,7 @@ _split(ImagingObject *self) {
25062506/* Channel operations (ImageChops) ------------------------------------ */
25072507
25082508static PyObject *
2509- _chop_invert (ImagingObject * self ) {
2509+ _chop_invert (ImagingObject * self , PyObject * args ) {
25102510 return PyImagingNew (ImagingNegative (self -> image ));
25112511}
25122512
0 commit comments