[Python-checkins] CVS: python/dist/src/Parser intrcheck.c,2.39,2.40

Fred L. Drake python-dev@python.org
Wed, 23 Aug 2000 11:17:45 -0700


Update of /cvsroot/python/python/dist/src/Parser
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26371/Parser

Modified Files:
	intrcheck.c 
Log Message:

Simplified inclusions and avoid prototypes copied in from elsewhere.
This also avoids a warning in anal mode.


Index: intrcheck.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/intrcheck.c,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -r2.39 -r2.40
*** intrcheck.c	2000/07/31 15:28:04	2.39
--- intrcheck.c	2000/08/23 18:17:42	2.40
***************
*** 11,26 ****
  /* 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);
! 
  
  #ifdef QUICKWIN
--- 11,15 ----
  /* Check for interrupts */
  
! #include "Python.h"
  
  #ifdef QUICKWIN