summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-26 00:40:38 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-26 00:40:38 (GMT)
commit8ae87c0489e718f9bfa2c78d145628f79f9cdc81 (patch)
tree2b879c180f01329ca7e9dada88c193e1fda0acb5 /Python/pythonrun.c
parent164d4ff0e59f1288566b97d0ffb38d7803cf1493 (diff)
downloadcpython-8ae87c0489e718f9bfa2c78d145628f79f9cdc81.zip
cpython-8ae87c0489e718f9bfa2c78d145628f79f9cdc81.tar.gz
cpython-8ae87c0489e718f9bfa2c78d145628f79f9cdc81.tar.bz2
make call_pyc_file static
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 11bd029..4b58bb4 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -403,7 +403,7 @@ run_node(n, filename, globals, locals)
return v;
}
-object *
+static object *
run_pyc_file(fp, filename, globals, locals)
FILE *fp;
char *filename;
@@ -534,6 +534,9 @@ fatal(msg)
char *msg;
{
fprintf(stderr, "Fatal Python error: %s\n", msg);
+#ifdef macintosh
+ for (;;);
+#endif
abort();
}