Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb375e4

Browse files
committed
Simplified inclusions and avoid prototypes copied in from elsewhere.
This also avoids a warning in anal mode.
1 parent 323fe5d commit eb375e4

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

Parser/intrcheck.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1010

1111
/* Check for interrupts */
1212

13-
#include "config.h"
14-
15-
/* config.h may or may not define DL_IMPORT */
16-
#ifndef DL_IMPORT /* declarations for DLL import/export */
17-
#define DL_IMPORT(RTYPE) RTYPE
18-
#endif
19-
20-
#include "intrcheck.h"
21-
22-
/* Copied here from ceval.h -- can't include that file. */
23-
int Py_AddPendingCall(int (*func)(void *), void *arg);
24-
13+
#include "Python.h"
2514

2615
#ifdef QUICKWIN
2716

0 commit comments

Comments
 (0)