comparison Python/pythonrun.c @ 78116:8bf691d0b004

Make set_main_loader static (noticed by Antoine Pitrou)
author Nick Coghlan <ncoghlan@gmail.com>
date Sun, 15 Jul 2012 23:18:08 +1000
parents ba264b26d8d9
children 27e13497d545
comparison
equal deleted inserted replaced
78115:1a08ceae5ef1 78116:8bf691d0b004
1349 } 1349 }
1350 return 0; 1350 return 0;
1351 } 1351 }
1352 1352
1353 int 1353 int
1354 set_main_loader(PyObject *d, const char *filename, const char *loader_name) 1354 static set_main_loader(PyObject *d, const char *filename, const char *loader_name)
1355 { 1355 {
1356 PyInterpreterState *interp; 1356 PyInterpreterState *interp;
1357 PyThreadState *tstate; 1357 PyThreadState *tstate;
1358 PyObject *loader_type, *loader; 1358 PyObject *loader_type, *loader;
1359 /* Get current thread state and interpreter pointer */ 1359 /* Get current thread state and interpreter pointer */