remove declaration of errno
This commit is contained in:
parent
2b6040818e
commit
a1ad1acf25
@ -96,7 +96,6 @@ getdata(void)
|
||||
{
|
||||
int i, type, ln;
|
||||
char fname[100];
|
||||
extern int errno;
|
||||
|
||||
errno = 0;
|
||||
curfile->lineno = 0;
|
||||
|
||||
@ -409,8 +409,6 @@ void pbstr(char *s)
|
||||
|
||||
double errcheck(double x, char *s)
|
||||
{
|
||||
extern int errno;
|
||||
|
||||
if (errno == EDOM) {
|
||||
errno = 0;
|
||||
ERROR "%s argument out of domain", s WARNING;
|
||||
|
||||
@ -425,8 +425,6 @@ void pbstr(char *s)
|
||||
|
||||
double errcheck(double x, char *s)
|
||||
{
|
||||
extern int errno;
|
||||
|
||||
if (errno == EDOM) {
|
||||
errno = 0;
|
||||
ERROR "%s argument out of domain", s WARNING;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user