summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-12 23:02:53 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-12 23:02:53 +0000
commit682813b4cdff917aced733c8ff8df40ef6026914 (patch)
treea98bcf4ff0d6419747cbaa0bd558a7543f694f2c /lib/libc
parente85e320a9e0511f35e7d9e062f18561014e59770 (diff)
downloadFreeBSD-src-682813b4cdff917aced733c8ff8df40ef6026914.zip
FreeBSD-src-682813b4cdff917aced733c8ff8df40ef6026914.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/feof.c3
-rw-r--r--lib/libc/stdio/remove.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/feof.c b/lib/libc/stdio/feof.c
index 7f58057..efcdc40 100644
--- a/lib/libc/stdio/feof.c
+++ b/lib/libc/stdio/feof.c
@@ -45,7 +45,8 @@ static char sccsid[] = "@(#)feof.c 8.1 (Berkeley) 6/4/93";
*/
#undef feof
-feof(fp)
+
+int feof(fp)
FILE *fp;
{
return (__sfeof(fp));
diff --git a/lib/libc/stdio/remove.c b/lib/libc/stdio/remove.c
index 216535a..85eaeb9 100644
--- a/lib/libc/stdio/remove.c
+++ b/lib/libc/stdio/remove.c
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)remove.c 8.1 (Berkeley) 6/4/93";
#include <unistd.h>
#include <stdio.h>
-remove(file)
+int remove(file)
const char *file;
{
return (unlink(file));
OpenPOWER on IntegriCloud