summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-15 23:18:08 +1000
committerNick Coghlan <ncoghlan@gmail.com>2012-07-15 23:18:08 +1000
commitb0f23648aae46ca1a30bfe7c5ba52744b3701b89 (patch)
treeda9555aa5a1f95aca4fbc6b18b008a84d128a7c5 /Python/pythonrun.c
parentd3e4d60f62c62a4794cb1a5ebffa436ecfce0ade (diff)
downloadcpython-b0f23648aae46ca1a30bfe7c5ba52744b3701b89.tar.gz
Make set_main_loader static (noticed by Antoine Pitrou)
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 8130cc5289..33ac741de0 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1351,7 +1351,7 @@ maybe_pyc_file(FILE *fp, const char* filename, const char* ext, int closeit)
}
int
-set_main_loader(PyObject *d, const char *filename, const char *loader_name)
+static set_main_loader(PyObject *d, const char *filename, const char *loader_name)
{
PyInterpreterState *interp;
PyThreadState *tstate;