diff options
| -rw-r--r-- | Mac/Modules/ColorPickermodule.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Mac/Modules/ColorPickermodule.c b/Mac/Modules/ColorPickermodule.c index e7d0045..12a632f 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; |
