diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c index 4ee935cb7f72..dd5d75ac5ad1 100644 --- a/Mac/Modules/res/Resmodule.c +++ b/Mac/Modules/res/Resmodule.c @@ -40,9 +40,6 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *); extern PyObject *BMObj_New(BitMapPtr); extern int BMObj_Convert(PyObject *, BitMapPtr *); -extern PyObject *PMObj_New(PixMapHandle); -extern int PMObj_Convert(PyObject *, PixMapHandle *); - extern PyObject *WinObj_WhichWindow(WindowPtr); #include @@ -1348,7 +1345,6 @@ static PyMethodDef Res_methods[] = { PyObject *OptResObj_New(itself) Handle itself; { - ResourceObject *it; if (itself == NULL) { Py_INCREF(Py_None); return Py_None; diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 8eb6bf4fb4e9..8c899f041021 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -35,7 +35,6 @@ class ResMethod(ResMixIn, MethodGenerator): pass PyObject *OptResObj_New(itself) Handle itself; { - ResourceObject *it; if (itself == NULL) { Py_INCREF(Py_None); return Py_None;