From: Fred Drake Date: Wed, 23 Aug 2000 18:17:42 +0000 (+0000) Subject: Simplified inclusions and avoid prototypes copied in from elsewhere. X-Git-Tag: v2.0b1~295 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb375e49f56f6a935f6ddfccff695292898e39fd;p=thirdparty%2FPython%2Fcpython.git Simplified inclusions and avoid prototypes copied in from elsewhere. This also avoids a warning in anal mode. --- diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c index 6ed0e5561b9b..519f40400bbe 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