summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-15 13:18:08 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-15 13:18:08 (GMT)
commitceda83c6a962bb34bc51cf3fc63e3ff5ff5d9f95 (patch)
tree0078f41d15d29fe379df9faf61f567bd55fe81d8 /Python
parent8e6e7d39d390fba610753fd7fe5306d1c62fe5ed (diff)
downloadcpython-ceda83c6a962bb34bc51cf3fc63e3ff5ff5d9f95.zip
cpython-ceda83c6a962bb34bc51cf3fc63e3ff5ff5d9f95.tar.gz
cpython-ceda83c6a962bb34bc51cf3fc63e3ff5ff5d9f95.tar.bz2
Make set_main_loader static (noticed by Antoine Pitrou)
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 8130cc5..33ac741 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;