BSD4.3 does not declare errno in <errno.h> -- unlike modern versions
authorChris Hanson <org/chris-hanson/cph>
Thu, 17 Oct 1991 09:09:38 +0000 (09:09 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 17 Oct 1991 09:09:38 +0000 (09:09 +0000)
of unix -- so must add extern declaration.

v7/src/microcode/flonum.c

index ab18ca84781e69bd398aa12bceca9f6a729bd58b..715fe95fe660838171b9491736f9c6097a59f597 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/flonum.c,v 9.35 1991/07/13 01:19:33 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/flonum.c,v 9.36 1991/10/17 09:09:38 cph Exp $
 
 Copyright (c) 1987-91 Massachusetts Institute of Technology
 
@@ -38,6 +38,7 @@ MIT in each case. */
 #include "prims.h"
 #include "zones.h"
 #include <errno.h>
+extern int errno;
 
 double
 arg_flonum (arg_number)