diff options
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r-- | Python/thread_nt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index aaa3b23..9d41820 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -122,7 +122,7 @@ BOOL LeaveNonRecursiveMutex(PNRMUTEX mutex) SetEvent(mutex->hevent) ; /* Other threads are waiting, wake one on them up */ } -PNRMUTEX AllocNonRecursiveMutex() +PNRMUTEX AllocNonRecursiveMutex(void) { PNRMUTEX mutex = (PNRMUTEX)malloc(sizeof(NRMUTEX)) ; if (mutex && !InitializeNonRecursiveMutex(mutex)) @@ -231,7 +231,7 @@ void PyThread_exit_prog(int status) do_PyThread_exit_prog(status, 0); } -void PyThread__exit_prog _P1(int status) +void PyThread__exit_prog(int status) { do_PyThread_exit_prog(status, 1); } |