diff options
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r-- | Modules/threadmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 1a1f667..ef73c26 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -34,7 +34,7 @@ typedef struct { staticforward PyTypeObject Locktype; static lockobject * -newlockobject() +newlockobject(void) { lockobject *self; self = PyObject_New(lockobject, &Locktype); @@ -377,7 +377,7 @@ unlock it. A thread attempting to lock a lock that it has already locked\n\ will block until another thread unlocks it. Deadlocks may ensue."; DL_EXPORT(void) -initthread() +initthread(void) { PyObject *m, *d; |