Commit ec97a28b authored by Jeremy Hylton's avatar Jeremy Hylton

Fix a bunch of imports to use code.h instead of compile.h.

Remove duplicate declarations from compile.h
parent 0f00ba8b
......@@ -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 */
......
......@@ -4,7 +4,6 @@
#include "Python.h"
#include "code.h"
#include "compile.h"
#include "eval.h"
#include "frameobject.h"
#include "structmember.h"
......
......@@ -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
......
#include "Python.h"
#include <ctype.h>
#include "compile.h"
#include "frameobject.h"
#include "expat.h"
......
......@@ -2,7 +2,6 @@
#include "structmember.h"
#include "osdefs.h"
#include "marshal.h"
#include "compile.h"
#include <time.h>
......
......@@ -4,7 +4,6 @@
#include "Python.h"
#include "code.h"
#include "compile.h"
#include "frameobject.h"
#include "opcode.h"
#include "structmember.h"
......
......@@ -4,7 +4,6 @@
#include "node.h"
#include "code.h"
#include "compile.h"
#include "eval.h"
#include <ctype.h>
......
......@@ -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
......
#include "Python.h"
#include "Python-ast.h"
#include "code.h"
#include "compile.h"
#include "symtable.h"
#include "structmember.h"
......
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