summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-02-28 22:40:55 (GMT)
committerThomas Wouters <thomas@python.org>2006-02-28 22:40:55 (GMT)
commite4d3a72ab83c0f3d846b3bba129949f0a1dcbcdf (patch)
tree86e9de97497e12794ea98bf21ed1e1b71a7dc859 /Include
parent090b3dde06c7590ed7d789bd01a7d800cc09a348 (diff)
downloadcpython-e4d3a72ab83c0f3d846b3bba129949f0a1dcbcdf.zip
cpython-e4d3a72ab83c0f3d846b3bba129949f0a1dcbcdf.tar.gz
cpython-e4d3a72ab83c0f3d846b3bba129949f0a1dcbcdf.tar.bz2
Include code.h more sanely.
Diffstat (limited to 'Include')
-rw-r--r--Include/compile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Include/compile.h b/Include/compile.h
index 01ba25c..0cc228c 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -1,6 +1,3 @@
-#ifndef Py_CODE_H
-#include "code.h"
-#endif
#ifndef Py_COMPILE_H
#define Py_COMPILE_H
@@ -8,6 +5,8 @@
extern "C" {
#endif
+#include "code.h"
+
/* Public interface */
struct _node; /* Declare the existence of this type */
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);