Mercurial > cpython-lru_cache-weakref
diff Python/thread_nt.h @ 13658:f79434ee41fa legacy-trunk
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
declarations yet, those come later.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sat, 22 Jul 2000 18:47:25 +0000 |
| parents | 87ee82e5c56d |
| children | 3a5a7d27f1b7 |
line wrap: on
line diff
--- a/Python/thread_nt.h Sat Jul 22 18:45:06 2000 +0000 +++ b/Python/thread_nt.h Sat Jul 22 18:47:25 2000 +0000 @@ -122,7 +122,7 @@ 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 @@ 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); }
