diff --git a/Include/compile.h b/Include/compile.h index 27a3f76a0f9..01fd7566028 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -11,11 +11,6 @@ extern "C" { /* Public interface */ struct _node; /* Declare the existence of this type */ PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *); -PyAPI_FUNC(PyCodeObject *) PyCode_New( - int, int, int, int, PyObject *, PyObject *, PyObject *, PyObject *, - PyObject *, PyObject *, PyObject *, PyObject *, int, PyObject *); - /* same as struct above */ -PyAPI_FUNC(int) PyCode_Addr2Line(PyCodeObject *, int); /* Future feature support */ diff --git a/Modules/_hotshot.c b/Modules/_hotshot.c index 08427284cc9..ddfd33655c0 100644 --- a/Modules/_hotshot.c +++ b/Modules/_hotshot.c @@ -4,7 +4,6 @@ #include "Python.h" #include "code.h" -#include "compile.h" #include "eval.h" #include "frameobject.h" #include "structmember.h" diff --git a/Modules/main.c b/Modules/main.c index d511e59763d..f6fa48bdd6d 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -2,7 +2,7 @@ #include "Python.h" #include "osdefs.h" -#include "compile.h" /* For CO_FUTURE_DIVISION */ +#include "code.h" /* For CO_FUTURE_DIVISION */ #include "import.h" #ifdef __VMS diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 438f7609cb2..c853160ba4a 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1,7 +1,6 @@ #include "Python.h" #include -#include "compile.h" #include "frameobject.h" #include "expat.h" diff --git a/Modules/zipimport.c b/Modules/zipimport.c index e445300cbf9..934367e8230 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -2,7 +2,6 @@ #include "structmember.h" #include "osdefs.h" #include "marshal.h" -#include "compile.h" #include diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 8ebf5004ab9..3535544918b 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -4,7 +4,6 @@ #include "Python.h" #include "code.h" -#include "compile.h" #include "frameobject.h" #include "opcode.h" #include "structmember.h" diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 2d51531f19c..fed657ffc77 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -4,7 +4,6 @@ #include "node.h" #include "code.h" -#include "compile.h" #include "eval.h" #include diff --git a/Python/marshal.c b/Python/marshal.c index 4114c8edc3f..1962f924ff3 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -7,7 +7,6 @@ #include "Python.h" #include "longintrepr.h" #include "code.h" -#include "compile.h" #include "marshal.h" /* High water mark to determine when the marshalled object is dangerously deep diff --git a/Python/symtable.c b/Python/symtable.c index 7af1390ffbe..49d153bd3b8 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -1,7 +1,6 @@ #include "Python.h" #include "Python-ast.h" #include "code.h" -#include "compile.h" #include "symtable.h" #include "structmember.h"