[Python-checkins] cpython: Make set_main_loader static (noticed by Antoine Pitrou)
nick.coghlan
python-checkins at python.org
Sun Jul 15 15:18:17 CEST 2012
http://hg.python.org/cpython/rev/8bf691d0b004
changeset: 78116:8bf691d0b004
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sun Jul 15 23:18:08 2012 +1000
summary:
Make set_main_loader static (noticed by Antoine Pitrou)
files:
Python/pythonrun.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1351,7 +1351,7 @@
}
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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list