Fix a bunch of imports to use code.h instead of compile.h.
Remove duplicate declarations from compile.h
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 @@
/* 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"