Include errno.h instead of defining errno as extern int.

This commit is contained in:
mainzelm 2001-12-17 13:41:49 +00:00
parent c21977a635
commit 314b0deae9
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#define Malloc(type,n) ((type *) malloc(sizeof(type)*(n)))
#define Free(p) (free((char *)(p)))
@ -42,7 +43,6 @@ char *scheme2c_strcpy(s48_value sstr)
{
char *result;
int slen;
extern int errno;
slen = S48_STRING_LENGTH(sstr);
result = Malloc(char, slen+1);