diff options
author | Guido van Rossum <guido@python.org> | 1998-10-07 16:35:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-07 16:35:54 (GMT) |
commit | 89bae99c5dec2ed9f8d9abffc2a8ce62df90f165 (patch) | |
tree | d5b2c333c88d6efd98f339540114ce81349018fe | |
parent | c20687355b02106bd6a13ec3a3a26c5379e6097c (diff) | |
download | cpython-89bae99c5dec2ed9f8d9abffc2a8ce62df90f165.zip cpython-89bae99c5dec2ed9f8d9abffc2a8ce62df90f165.tar.gz cpython-89bae99c5dec2ed9f8d9abffc2a8ce62df90f165.tar.bz2 |
Make gcc -Wall happy:
Remove unused decls of getloclock() and is_lockobject().
-rw-r--r-- | Modules/threadmodule.c | 12 |
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() { |