diff options
author | jraynard <jraynard@FreeBSD.org> | 1996-06-12 22:56:41 +0000 |
---|---|---|
committer | jraynard <jraynard@FreeBSD.org> | 1996-06-12 22:56:41 +0000 |
commit | 8a4400a463b6e76c6c1aebcd4a04d44c0275288c (patch) | |
tree | 53cd93022f2697f2a6164f95b52e320dd3d5e4dc /lib/libc | |
parent | 2bad10e375234a35c2cb21aa36e7da920300af93 (diff) | |
download | FreeBSD-src-8a4400a463b6e76c6c1aebcd4a04d44c0275288c.zip FreeBSD-src-8a4400a463b6e76c6c1aebcd4a04d44c0275288c.tar.gz |
Code cleanup:-
The usual stuff, adding missing function prototypes, argument types,
return values, etc.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/ferror.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fgetln.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fileno.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/flags.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fprintf.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdio/ferror.c b/lib/libc/stdio/ferror.c index 27ca107..a245128 100644 --- a/lib/libc/stdio/ferror.c +++ b/lib/libc/stdio/ferror.c @@ -45,7 +45,7 @@ static char sccsid[] = "@(#)ferror.c 8.1 (Berkeley) 6/4/93"; */ #undef ferror -ferror(fp) +int ferror(fp) FILE *fp; { return (__sferror(fp)); diff --git a/lib/libc/stdio/fgetln.c b/lib/libc/stdio/fgetln.c index ec81a2d..ea99f4d 100644 --- a/lib/libc/stdio/fgetln.c +++ b/lib/libc/stdio/fgetln.c @@ -50,7 +50,7 @@ static char sccsid[] = "@(#)fgetln.c 8.2 (Berkeley) 1/2/94"; * so we add 1 here. #endif */ -__slbexpand(fp, newsize) +int __slbexpand(fp, newsize) FILE *fp; size_t newsize; { diff --git a/lib/libc/stdio/fileno.c b/lib/libc/stdio/fileno.c index 91e82e8..327bedd 100644 --- a/lib/libc/stdio/fileno.c +++ b/lib/libc/stdio/fileno.c @@ -45,7 +45,7 @@ static char sccsid[] = "@(#)fileno.c 8.1 (Berkeley) 6/4/93"; */ #undef fileno -fileno(fp) +int fileno(fp) FILE *fp; { return (__sfileno(fp)); diff --git a/lib/libc/stdio/flags.c b/lib/libc/stdio/flags.c index ee1a76c..6ec19e4 100644 --- a/lib/libc/stdio/flags.c +++ b/lib/libc/stdio/flags.c @@ -48,7 +48,7 @@ static char sccsid[] = "@(#)flags.c 8.1 (Berkeley) 6/4/93"; * to be passed to an open() syscall through *optr. * Return 0 on error. */ -__sflags(mode, optr) +int __sflags(mode, optr) register char *mode; int *optr; { diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c index 479ee24..c6ece45 100644 --- a/lib/libc/stdio/fprintf.c +++ b/lib/libc/stdio/fprintf.c @@ -46,7 +46,7 @@ static char sccsid[] = "@(#)fprintf.c 8.1 (Berkeley) 6/4/93"; #endif #if __STDC__ -fprintf(FILE *fp, const char *fmt, ...) +int fprintf(FILE *fp, const char *fmt, ...) #else fprintf(fp, fmt, va_alist) FILE *fp; |