summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/threadmodule.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 3f32af2..a1ba362 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -54,18 +54,6 @@ typedef struct {
staticforward PyTypeObject Locktype;
-#define is_lockobject(v) ((v)->ob_type == &Locktype)
-
-static type_lock
-getlocklock(lock)
- PyObject *lock;
-{
- if (lock == NULL || !is_lockobject(lock))
- return NULL;
- else
- return ((lockobject *) lock)->lock_lock;
-}
-
static lockobject *
newlockobject()
{