diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 4 | ||||
-rw-r--r-- | Python/thread_nt.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 4e16320..0814038 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -72,6 +72,10 @@ static void initsigs Py_PROTO((void)); static void call_sys_exitfunc Py_PROTO((void)); static void call_ll_exitfuncs Py_PROTO((void)); +#ifdef Py_TRACE_REFS +int _Py_AskYesNo(char *prompt); +#endif + int Py_DebugFlag; /* Needed by parser.c */ int Py_VerboseFlag; /* Needed by import.c */ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */ diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 0044551..7e2ccbc 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -65,7 +65,7 @@ int PyThread_start_new_thread(void (*func)(void *), void *arg) if (rv != -1) { success = 1; - dprintf(("%ld: PyThread_start_new_thread succeeded: %ld\n", PyThread_get_thread_ident(), aThreadId)); + dprintf(("%ld: PyThread_start_new_thread succeeded: %ld\n", PyThread_get_thread_ident(), rv)); } return success; |