summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-07-05 10:31:29 +0000
committerGuido van Rossum <guido@python.org>1993-07-05 10:31:29 +0000
commitf23fc0fd0c5379a14bef3d4fb5fd53dc07217765 (patch)
treee8deae6fe14c26fc1a1299e4a27614f564224e21 /Python/pythonrun.c
parent03a266542947ea0fcf718e7329f911a29fc4699a (diff)
downloadcpython-f23fc0fd0c5379a14bef3d4fb5fd53dc07217765.tar.gz
* Makefile: added all: and default: targets.
* many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index b85be921c0..d518f24f56 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -284,7 +284,7 @@ run_file(fp, filename, start, globals, locals)
return run_err_node(err, n, filename, globals, locals);
}
-object *
+static object *
run_err_node(err, n, filename, globals, locals)
int err;
node *n;
@@ -298,7 +298,7 @@ run_err_node(err, n, filename, globals, locals)
return run_node(n, filename, globals, locals);
}
-object *
+static object *
run_node(n, filename, globals, locals)
node *n;
char *filename;
@@ -307,7 +307,7 @@ run_node(n, filename, globals, locals)
return eval_node(n, filename, globals, locals);
}
-object *
+static object *
eval_node(n, filename, globals, locals)
node *n;
char *filename;
@@ -392,7 +392,7 @@ fatal(msg)
extern int threads_started;
#endif
-void
+static void
cleanup()
{
object *exitfunc = sysget("exitfunc");
@@ -461,7 +461,7 @@ goaway(sts)
}
#ifdef HANDLE_SIGNALS
-SIGTYPE
+static SIGTYPE
sighandler(sig)
int sig;
{
@@ -472,7 +472,7 @@ sighandler(sig)
}
#endif
-void
+static void
initsigs()
{
initintr();