diff options
Diffstat (limited to 'contrib/libf2c/libI77/dfe.c')
-rw-r--r-- | contrib/libf2c/libI77/dfe.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/libf2c/libI77/dfe.c b/contrib/libf2c/libI77/dfe.c index f8c1fc1..f639ab5 100644 --- a/contrib/libf2c/libI77/dfe.c +++ b/contrib/libf2c/libI77/dfe.c @@ -81,7 +81,7 @@ c_dfe(cilist *a) f__fmtbuf=a->cifmt; if(a->cirec <= 0) err(a->cierr,130,"dfe"); - fseek(f__cf,(long)f__curunit->url * (a->cirec-1),SEEK_SET); + (void) fseek(f__cf,(long)f__curunit->url * (a->cirec-1),SEEK_SET); f__curunit->uend = 0; return(0); } @@ -138,3 +138,9 @@ integer e_rdfe(Void) en_fio(); return(0); } + +integer e_wdfe(Void) +{ + f__init = 1; + return en_fio(); +} |