summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-23 18:17:42 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-23 18:17:42 (GMT)
commiteb375e49f56f6a935f6ddfccff695292898e39fd (patch)
tree4d15ccc4f7ad2201a08a76464b259d85ad787f49 /Parser
parent323fe5df6a7f37c29ae536238ddf1740736af6a9 (diff)
downloadcpython-eb375e49f56f6a935f6ddfccff695292898e39fd.zip
cpython-eb375e49f56f6a935f6ddfccff695292898e39fd.tar.gz
cpython-eb375e49f56f6a935f6ddfccff695292898e39fd.tar.bz2
Simplified inclusions and avoid prototypes copied in from elsewhere.
This also avoids a warning in anal mode.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/intrcheck.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index 6ed0e55..519f404 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -10,18 +10,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Check for interrupts */
-#include "config.h"
-
-/* config.h may or may not define DL_IMPORT */
-#ifndef DL_IMPORT /* declarations for DLL import/export */
-#define DL_IMPORT(RTYPE) RTYPE
-#endif
-
-#include "intrcheck.h"
-
-/* Copied here from ceval.h -- can't include that file. */
-int Py_AddPendingCall(int (*func)(void *), void *arg);
-
+#include "Python.h"
#ifdef QUICKWIN