summaryrefslogtreecommitdiffstats
path: root/lib/libI77/wsfe.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commitc4d4a99d31762beef936f34571330923e9300da9 (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libI77/wsfe.c
parent6657f01bfd009bbf4ec0481a17712259abf8ea77 (diff)
downloadFreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.zip
FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'lib/libI77/wsfe.c')
-rw-r--r--lib/libI77/wsfe.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libI77/wsfe.c b/lib/libI77/wsfe.c
index 7c7f014..d69f9af 100644
--- a/lib/libI77/wsfe.c
+++ b/lib/libI77/wsfe.c
@@ -5,9 +5,9 @@
extern int f__hiwater;
#ifdef KR_headers
-x_putc(c)
+int x_putc(c)
#else
-x_putc(int c)
+int x_putc(int c)
#endif
{
/* this uses \n as an indicator of record-end */
@@ -27,6 +27,8 @@ x_putc(int c)
#endif
return putc(c,f__cf);
}
+
+int
x_wSL(Void)
{
(*f__putn)('\n');
@@ -35,6 +37,8 @@ x_wSL(Void)
f__hiwater = 0;
return(1);
}
+
+int
xw_end(Void)
{
if(f__nonl == 0)
@@ -42,6 +46,8 @@ xw_end(Void)
f__hiwater = f__recpos = f__cursor = 0;
return(0);
}
+
+int
xw_rev(Void)
{
if(f__workdone) (*f__putn)('\n');
@@ -56,7 +62,7 @@ integer s_wsfe(cilist *a) /*start*/
#endif
{ int n;
if(!f__init) f_init();
- if(n=c_sfe(a)) return(n);
+ if( (n=c_sfe(a)) ) return(n);
f__reading=0;
f__sequential=1;
f__formatted=1;
OpenPOWER on IntegriCloud