Kaydet (Commit) cfd76a20 authored tarafından Guido van Rossum's avatar Guido van Rossum

Sjoerd Mullender:

Added some declarations to shut up compiler.
üst f618a48d
......@@ -177,7 +177,7 @@ ext_tab_footer = """\
"""
ext_src_footer = """\
extern int PyImport_ExtendInittab(struct _inittab *newtab);
extern DL_IMPORT(int) PyImport_ExtendInittab(struct _inittab *newtab);
int PyInitFrozenExtensions()
{
......
......@@ -22,6 +22,7 @@ main(argc, argv)
int argc;
char **argv;
{
extern int Py_FrozenMain Py_PROTO((int, char **));
""" + ((not __debug__ and """
Py_OptimizeFlag++;
""") or "") + """
......
......@@ -11,6 +11,7 @@ int WINAPI WinMain(
int nCmdShow // show state of window
)
{
extern int Py_FrozenMain(int, char **);
PyImport_FrozenModules = _PyImport_FrozenModules;
return Py_FrozenMain(__argc, __argv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment