Make gcc -Wall happy:

Remove unused decls of getloclock() and is_lockobject().
This commit is contained in:
Guido van Rossum 1998-10-07 16:35:54 +00:00
parent c20687355b
commit 89bae99c5d

View file

@ -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()
{