mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
remove declaration of errno
This commit is contained in:
parent
2b6040818e
commit
a1ad1acf25
3 changed files with 0 additions and 5 deletions
|
@ -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 a new issue