]> granicus.if.org Git - python/commitdiff
Simplified inclusions and avoid prototypes copied in from elsewhere.
authorFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 18:17:42 +0000 (18:17 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 18:17:42 +0000 (18:17 +0000)
This also avoids a warning in anal mode.

Parser/intrcheck.c

index 6ed0e5561b9bea98dd74dd2f4e2638a37ef10090..519f40400bbe9dbaef7e5aaa52426c3d0a39df03 100644 (file)
@@ -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