summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
committerGuido van Rossum <guido@python.org>2000-01-20 22:32:56 (GMT)
commitbffd683f7356d92d4504b2bcaa7221fab3f52f4e (patch)
treefb68ae112139013c715e82c4b03678feab52ab21 /Python
parente0a928dc1ec74f487471d102ae6efacc92055aa6 (diff)
downloadcpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.zip
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.gz
cpython-bffd683f7356d92d4504b2bcaa7221fab3f52f4e.tar.bz2
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c4
-rw-r--r--Python/thread_nt.h2
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;