diff options
author | jmz <jmz@FreeBSD.org> | 1997-04-13 01:16:58 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1997-04-13 01:16:58 +0000 |
commit | 438bdd8a9c9d390f13a4b05980c19b18e974d16c (patch) | |
tree | e809113557ae09d5ce13e9239ae81534708bd955 /lib/libI77/fio.h | |
parent | 5d93c9d5fb208d10eacf608b44ee02d3cd5b4a16 (diff) | |
download | FreeBSD-src-438bdd8a9c9d390f13a4b05980c19b18e974d16c.zip FreeBSD-src-438bdd8a9c9d390f13a4b05980c19b18e974d16c.tar.gz |
Upgrade to the 1997/02/26 version.
Diffstat (limited to 'lib/libI77/fio.h')
-rw-r--r-- | lib/libI77/fio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libI77/fio.h b/lib/libI77/fio.h index 17e5593..e8c693b 100644 --- a/lib/libI77/fio.h +++ b/lib/libI77/fio.h @@ -80,8 +80,8 @@ extern int (*f__doend)(Void); extern FILE *f__cf; /*current file*/ extern unit *f__curunit; /*current unit*/ extern unit f__units[]; -#define err(f,m,s) {if( (f) ) errno=(m); else f__fatal((m),(s)); return((m));} -#define errfl(f,m,s) return err__fl((int)(f),(m),(s)) +#define err(f,m,s) {if(f) errno= m; else f__fatal(m,s); return(m);} +#define errfl(f,m,s) return err__fl((int)f,m,s) /*Table sizes*/ #define MXUNIT 100 @@ -99,4 +99,4 @@ extern int f__hiwater; /* so TL doesn't confuse us */ #define EXT 7 #define INT 8 -#define buf_end(x) ((x)->_flag & _IONBF ? (x)->_ptr : (x)->_base + BUFSIZ) +#define buf_end(x) (x->_flag & _IONBF ? x->_ptr : x->_base + BUFSIZ) |