summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-07-05 10:31:29 (GMT)
committerGuido van Rossum <guido@python.org>1993-07-05 10:31:29 (GMT)
commitf1dc56632881fe4e5beed047580bf927679f3669 (patch)
treef669dcac15ec9cb2801b881c3a7b1a579e7c994e /Python/compile.c
parent9e90a672b44e2acfd5c6dabfb9435bb4bb46c845 (diff)
downloadcpython-f1dc56632881fe4e5beed047580bf927679f3669.zip
cpython-f1dc56632881fe4e5beed047580bf927679f3669.tar.gz
cpython-f1dc56632881fe4e5beed047580bf927679f3669.tar.bz2
* Makefile: added all: and default: targets.
* many files: made some functions static; removed "extern int errno;". * frozenmain.c: fixed bugs introduced on 24 June... * flmodule.c: remove 1.5 bw compat hacks, add new functions in 2.2a (and some old functions that were omitted). * timemodule.c: added MSDOS floatsleep version . * pgenmain.c: changed exit() to goaway() and added defn of goaway(). * intrcheck.c: add hack (to UNIX only) so interrupting 3 times will exit from a hanging program. The second interrupt prints a message explaining this to the user.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a8cd4e9..0eb06cb 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -39,8 +39,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "structmember.h"
#include <ctype.h>
-
-extern int errno;
+#include <errno.h>
#define OFF(x) offsetof(codeobject, x)