Make set_main_loader static (noticed by Antoine Pitrou)

This commit is contained in:
Nick Coghlan 2012-07-15 23:18:08 +10:00
parent 8e6e7d39d3
commit ceda83c6a9

View file

@ -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;