summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2005-10-21 14:58:06 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2005-10-21 14:58:06 (GMT)
commitec97a28b60b40d366379d22876baebcdd06a89ad (patch)
treeb1c4f1aa28bd5dbdfbe182aebe1c75fb164c9c04 /Modules
parent0f00ba8bd885d86e028f971292a5f20b590a0c13 (diff)
downloadcpython-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
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_hotshot.c1
-rw-r--r--Modules/main.c2
-rw-r--r--Modules/pyexpat.c1
-rw-r--r--Modules/zipimport.c1
4 files changed, 1 insertions, 4 deletions
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>