summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Modules/res/Resmodule.c4
-rw-r--r--Mac/Modules/res/ressupport.py1
2 files changed, 0 insertions, 5 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c
index 4ee935c..dd5d75a 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 <Resources.h>
@@ -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 8eb6bf4..8c899f0 100644
--- a/Mac/Modules/res/ressupport.py
+++ b/Mac/Modules/res/ressupport.py
@@ -35,7 +35,6 @@ finalstuff = finalstuff + """
PyObject *OptResObj_New(itself)
Handle itself;
{
- ResourceObject *it;
if (itself == NULL) {
Py_INCREF(Py_None);
return Py_None;