diff options
| author | Guido van Rossum <guido@python.org> | 1993-07-05 10:31:29 +0000 | 
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1993-07-05 10:31:29 +0000 | 
| commit | f1dc56632881fe4e5beed047580bf927679f3669 (patch) | |
| tree | f669dcac15ec9cb2801b881c3a7b1a579e7c994e /Objects | |
| parent | 9e90a672b44e2acfd5c6dabfb9435bb4bb46c845 (diff) | |
| download | cpython-git-f1dc56632881fe4e5beed047580bf927679f3669.tar.gz | |
* 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 'Objects')
| -rw-r--r-- | Objects/fileobject.c | 5 | ||||
| -rw-r--r-- | Objects/floatobject.c | 4 | 
2 files changed, 1 insertions, 8 deletions
| diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 15263d3f95..99cdba2bed 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -30,10 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  #define BUF(v) GETSTRINGVALUE((stringobject *)v) -#include "errno.h" -#ifndef errno -extern int errno; -#endif +#include <errno.h>  typedef struct {  	OB_HEAD diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 25ae6d8991..9994523c68 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -31,10 +31,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.  #include "modsupport.h"  #include <errno.h> -#ifndef errno -extern int errno; -#endif -  #include <ctype.h>  #include <math.h> | 
