summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-12 22:59:55 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-12 22:59:55 +0000
commite85e320a9e0511f35e7d9e062f18561014e59770 (patch)
treecfe4e5c175af1b86f8edd90380fb043a65690b52 /lib/libc/stdio/stdio.c
parent4a395602dc927c2e081ae681cefecd87fe5ca3b1 (diff)
downloadFreeBSD-src-e85e320a9e0511f35e7d9e062f18561014e59770.zip
FreeBSD-src-e85e320a9e0511f35e7d9e062f18561014e59770.tar.gz
Code cleanup:-
The usual stuff, adding missing function prototypes, argument types, return values, etc. This directory now compiles with no warnings with -Wall on gcc2.6.3!
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r--lib/libc/stdio/stdio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c
index c2d7d87..c3b7e51 100644
--- a/lib/libc/stdio/stdio.c
+++ b/lib/libc/stdio/stdio.c
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)stdio.c 8.1 (Berkeley) 6/4/93";
* Small standard I/O/seek/close functions.
* These maintain the `known seek offset' for seek optimisation.
*/
-__sread(cookie, buf, n)
+int __sread(cookie, buf, n)
void *cookie;
char *buf;
int n;
@@ -64,7 +64,7 @@ __sread(cookie, buf, n)
return (ret);
}
-__swrite(cookie, buf, n)
+int __swrite(cookie, buf, n)
void *cookie;
char const *buf;
int n;
@@ -96,7 +96,7 @@ __sseek(cookie, offset, whence)
return (ret);
}
-__sclose(cookie)
+int __sclose(cookie)
void *cookie;
{
OpenPOWER on IntegriCloud