diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-15 23:18:08 +1000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-15 23:18:08 +1000 |
commit | b0f23648aae46ca1a30bfe7c5ba52744b3701b89 (patch) | |
tree | da9555aa5a1f95aca4fbc6b18b008a84d128a7c5 /Python/pythonrun.c | |
parent | d3e4d60f62c62a4794cb1a5ebffa436ecfce0ade (diff) | |
download | cpython-b0f23648aae46ca1a30bfe7c5ba52744b3701b89.tar.gz |
Make set_main_loader static (noticed by Antoine Pitrou)
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
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; |