summaryrefslogtreecommitdiffstats
path: root/contrib/libf2c/libI77/wsne.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-07-11 03:42:19 +0000
committerkan <kan@FreeBSD.org>2003-07-11 03:42:19 +0000
commit7b704871fdac058719f34a1e6b9de71ee76c5be4 (patch)
treeddafd6196c36e6100eb4f969af01a11ee9c83a81 /contrib/libf2c/libI77/wsne.c
parentbb754981e6f83bc1f224dc4b7f478d80024e6c9f (diff)
downloadFreeBSD-src-7b704871fdac058719f34a1e6b9de71ee76c5be4.zip
FreeBSD-src-7b704871fdac058719f34a1e6b9de71ee76c5be4.tar.gz
Gcc 3.3.1-pre 2003-07-11 libf2c bits.
Diffstat (limited to 'contrib/libf2c/libI77/wsne.c')
-rw-r--r--contrib/libf2c/libI77/wsne.c36
1 files changed, 16 insertions, 20 deletions
diff --git a/contrib/libf2c/libI77/wsne.c b/contrib/libf2c/libI77/wsne.c
index ae3f817..bcf0826 100644
--- a/contrib/libf2c/libI77/wsne.c
+++ b/contrib/libf2c/libI77/wsne.c
@@ -2,25 +2,21 @@
#include "fio.h"
#include "lio.h"
- integer
-#ifdef KR_headers
-s_wsne(a) cilist *a;
-#else
-s_wsne(cilist *a)
-#endif
+integer
+s_wsne (cilist * a)
{
- int n;
+ int n;
- if(n=c_le(a))
- return(n);
- f__reading=0;
- f__external=1;
- f__formatted=1;
- f__putn = x_putc;
- L_len = LINE;
- f__donewrec = x_wSL;
- if(f__curunit->uwrt != 1 && f__nowwriting(f__curunit))
- err(a->cierr, errno, "namelist output start");
- x_wsne(a);
- return e_wsle();
- }
+ if ((n = c_le (a)))
+ return (n);
+ f__reading = 0;
+ f__external = 1;
+ f__formatted = 1;
+ f__putn = x_putc;
+ L_len = LINE;
+ f__donewrec = x_wSL;
+ if (f__curunit->uwrt != 1 && f__nowwriting (f__curunit))
+ err (a->cierr, errno, "namelist output start");
+ x_wsne (a);
+ return e_wsle ();
+}
OpenPOWER on IntegriCloud