diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2005-10-21 14:58:06 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2005-10-21 14:58:06 (GMT) |
commit | ec97a28b60b40d366379d22876baebcdd06a89ad (patch) | |
tree | b1c4f1aa28bd5dbdfbe182aebe1c75fb164c9c04 | |
parent | 0f00ba8bd885d86e028f971292a5f20b590a0c13 (diff) | |
download | cpython-ec97a28b60b40d366379d22876baebcdd06a89ad.zip cpython-ec97a28b60b40d366379d22876baebcdd06a89ad.tar.gz cpython-ec97a28b60b40d366379d22876baebcdd06a89ad.tar.bz2 |
Fix a bunch of imports to use code.h instead of compile.h.
Remove duplicate declarations from compile.h
-rw-r--r-- | Include/compile.h | 5 | ||||
-rw-r--r-- | Modules/_hotshot.c | 1 | ||||
-rw-r--r-- | Modules/main.c | 2 | ||||
-rw-r--r-- | Modules/pyexpat.c | 1 | ||||
-rw-r--r-- | Modules/zipimport.c | 1 | ||||
-rw-r--r-- | Objects/frameobject.c | 1 | ||||
-rw-r--r-- | Python/bltinmodule.c | 1 | ||||
-rw-r--r-- | Python/marshal.c | 1 | ||||
-rw-r--r-- | Python/symtable.c | 1 |
9 files changed, 1 insertions, 13 deletions
diff --git a/Include/compile.h b/Include/compile.h index 27a3f76..01fd756 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 0842728..ddfd336 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 d511e59..f6fa48b 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 438f760..c853160 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1,7 +1,6 @@ #include "Python.h" #include <ctype.h> -#include "compile.h" #include "frameobject.h" #include "expat.h" diff --git a/Modules/zipimport.c b/Modules/zipimport.c index e445300..934367e 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 <time.h> diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 8ebf500..3535544 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 2d51531..fed657f 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 <ctype.h> diff --git a/Python/marshal.c b/Python/marshal.c index 4114c8e..1962f92 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 7af1390..49d153b 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" |