mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
This commit is contained in:
parent
e0a928dc1e
commit
bffd683f73
15 changed files with 34 additions and 22 deletions
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue