diff --git a/Mac/Modules/ColorPickermodule.c b/Mac/Modules/ColorPickermodule.c index e7d00451df9..12a632f82a5 100644 --- a/Mac/Modules/ColorPickermodule.c +++ b/Mac/Modules/ColorPickermodule.c @@ -37,9 +37,7 @@ static char cp_GetColor__doc__[] = ; static PyObject * -cp_GetColor(self, args) - PyObject *self; /* Not used */ - PyObject *args; +cp_GetColor(PyObject *self, PyObject *args) { RGBColor inColor, outColor; Boolean ok; @@ -68,9 +66,7 @@ static char cp_module_documentation[] = "" ; -void initColorPicker(); - -void initColorPicker() +void initColorPicker(void) { PyObject *m;