summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-26 00:40:38 +0000
committerGuido van Rossum <guido@python.org>1995-01-26 00:40:38 +0000
commit8e0098952f11e6a00188715298601404aa4bb121 (patch)
tree2b7217501e381fef823c25e6b1357778b3c7f844 /Python/pythonrun.c
parentca8a5ad4ee07860794517363258c360fb263f6f3 (diff)
downloadcpython-8e0098952f11e6a00188715298601404aa4bb121.tar.gz
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 11bd029a9c..4b58bb4c48 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();
}