Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 9161:1e43df7d8be3 legacy-trunk
Remove redundant definition of NEXITFUNCS.
(Reported by Jeff Rush.)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 28 Sep 1998 22:15:37 +0000 |
| parents | dabb2b6a3a81 |
| children | ac6c29d1f10c |
comparison
equal
deleted
inserted
replaced
| 9160:f0a92c0a115e | 9161:1e43df7d8be3 |
|---|---|
| 1033 #ifdef WITH_THREAD | 1033 #ifdef WITH_THREAD |
| 1034 #include "thread.h" | 1034 #include "thread.h" |
| 1035 int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */ | 1035 int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */ |
| 1036 #endif | 1036 #endif |
| 1037 | 1037 |
| 1038 #define NEXITFUNCS 32 | 1038 /* NEXITFUNCS is defined in pystate.h */ |
| 1039 static void (*exitfuncs[NEXITFUNCS])(); | 1039 static void (*exitfuncs[NEXITFUNCS])(); |
| 1040 static int nexitfuncs = 0; | 1040 static int nexitfuncs = 0; |
| 1041 | 1041 |
| 1042 int Py_AtExit(func) | 1042 int Py_AtExit(func) |
| 1043 void (*func) Py_PROTO((void)); | 1043 void (*func) Py_PROTO((void)); |
