summaryrefslogtreecommitdiffstats
path: root/lib/libI77/wrtfmt.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/wrtfmt.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/wrtfmt.c')
-rw-r--r--lib/libI77/wrtfmt.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libI77/wrtfmt.c b/lib/libI77/wrtfmt.c
index 545dcb9..077db71 100644
--- a/lib/libI77/wrtfmt.c
+++ b/lib/libI77/wrtfmt.c
@@ -6,6 +6,8 @@ extern int f__cursor;
int f__hiwater;
icilist *f__svic;
char *f__icptr;
+
+int
mv_cur(Void) /* shouldn't use fseek because it insists on calling fflush */
/* instead we know too much about stdio */
{
@@ -233,9 +235,9 @@ wrt_H(int a, char *s)
return(1);
}
#ifdef KR_headers
-wrt_L(n,len, sz) Uint *n; ftnlen sz;
+int wrt_L(n,len, sz) Uint *n; ftnlen sz;
#else
-wrt_L(Uint *n, int len, ftnlen sz)
+int wrt_L(Uint *n, int len, ftnlen sz)
#endif
{ int i;
long x;
@@ -307,9 +309,9 @@ wrt_G(ufloat *p, int w, int d, int e, ftnlen len)
return(wrt_E(p,w,d,e,len));
}
#ifdef KR_headers
-w_ed(p,ptr,len) struct syl *p; char *ptr; ftnlen len;
+int w_ed(p,ptr,len) struct syl *p; char *ptr; ftnlen len;
#else
-w_ed(struct syl *p, char *ptr, ftnlen len)
+int w_ed(struct syl *p, char *ptr, ftnlen len)
#endif
{
if(f__cursor && mv_cur()) return(mv_cur());
@@ -350,9 +352,9 @@ w_ed(struct syl *p, char *ptr, ftnlen len)
}
}
#ifdef KR_headers
-w_ned(p) struct syl *p;
+int w_ned(p) struct syl *p;
#else
-w_ned(struct syl *p)
+int w_ned(struct syl *p)
#endif
{
switch(p->op)
OpenPOWER on IntegriCloud