mirror of https://github.com/python/cpython
The init routine for MacOS had a non-standard name. Changed to
initMacOS().
This commit is contained in:
parent
a5a49818aa
commit
d674163a0b
|
@ -37,7 +37,7 @@ extern void initcmath();
|
|||
#endif
|
||||
extern void initparser();
|
||||
extern void initmac();
|
||||
extern void MacOS_Init();
|
||||
extern void initMacOS();
|
||||
extern void initregex();
|
||||
extern void initstrop();
|
||||
extern void initstruct();
|
||||
|
@ -169,7 +169,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
#endif
|
||||
{"parser", initparser},
|
||||
{"mac", initmac},
|
||||
{"MacOS", MacOS_Init},
|
||||
{"MacOS", initMacOS},
|
||||
{"regex", initregex},
|
||||
{"strop", initstrop},
|
||||
{"struct", initstruct},
|
||||
|
|
|
@ -707,7 +707,7 @@ static PyMethodDef MacOS_Methods[] = {
|
|||
|
||||
|
||||
void
|
||||
MacOS_Init()
|
||||
initMacOS()
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
|
|
Loading…
Reference in New Issue