aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/feof.c
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-22 10:34:15 +0000
commitce51cf0392a0b2cc80e5ddcdb01394a303093443 (patch)
treedabe76e239303cbaa8026d6b9fa85fe1b5845601 /lib/libc/stdio/feof.c
parent55c148f316e1e2bbc7ac656d7f89144dd9dc34c0 (diff)
downloadsrc-ce51cf0392a0b2cc80e5ddcdb01394a303093443.tar.gz
src-ce51cf0392a0b2cc80e5ddcdb01394a303093443.zip
Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer
Added $Id$'s to files that were lacking them (gpalmer), made some cosmetic changes to conform to style guidelines (bde) and checked against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde) One last code cleanup:- Removed spurious casts in fseek.c and stdio.c. Added missing function argument in fwalk.c. Added missing header include in flags.c and rget.c. Put in casts where int's were being passed as size_t's. Put in missing prototypes for static functions. Changed second args of __sflags() inflags.c and writehook() in vasprintf.c from char * to const char * to conform to prototypes. This directory now compiles with no warnings with -Wall under gcc-2.6.3 and with considerably less warnings than before with the ultra-pedantic script I used for testing. (Most of the remaining ones are due to const poisoning).
Notes
Notes: svn path=/head/; revision=16586
Diffstat (limited to 'lib/libc/stdio/feof.c')
-rw-r--r--lib/libc/stdio/feof.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/stdio/feof.c b/lib/libc/stdio/feof.c
index efcdc4076601..e42df61ea669 100644
--- a/lib/libc/stdio/feof.c
+++ b/lib/libc/stdio/feof.c
@@ -35,7 +35,11 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
+#if 0
static char sccsid[] = "@(#)feof.c 8.1 (Berkeley) 6/4/93";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -45,8 +49,8 @@ static char sccsid[] = "@(#)feof.c 8.1 (Berkeley) 6/4/93";
*/
#undef feof
-
-int feof(fp)
+int
+feof(fp)
FILE *fp;
{
return (__sfeof(fp));