diff options
author | paul <paul@FreeBSD.org> | 1996-03-24 15:49:34 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1996-03-24 15:49:34 +0000 |
commit | a9cb635df284df9e8c4ed4faafa13e0d2791e388 (patch) | |
tree | 63085b9e3551d971ebb34f5b7c3f7256c8890bb3 /lib/libc | |
parent | eecb1c47c6d7886a9fe2907b391dee4a6422a445 (diff) | |
download | FreeBSD-src-a9cb635df284df9e8c4ed4faafa13e0d2791e388.zip FreeBSD-src-a9cb635df284df9e8c4ed4faafa13e0d2791e388.tar.gz |
Fix incorrect parameter types.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/fgets.c | 2 | ||||
-rw-r--r-- | lib/libc/stdio/ftell.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgets.c b/lib/libc/stdio/fgets.c index c478267..c7c1abc 100644 --- a/lib/libc/stdio/fgets.c +++ b/lib/libc/stdio/fgets.c @@ -54,7 +54,7 @@ static char sccsid[] = "@(#)fgets.c 8.2 (Berkeley) 12/22/93"; char * fgets(buf, n, fp) char *buf; - register size_t n; + register int n; register FILE *fp; { register size_t len; diff --git a/lib/libc/stdio/ftell.c b/lib/libc/stdio/ftell.c index 271490a..de9064f 100644 --- a/lib/libc/stdio/ftell.c +++ b/lib/libc/stdio/ftell.c @@ -51,7 +51,7 @@ static char sccsid[] = "@(#)ftell.c 8.1 (Berkeley) 6/4/93"; */ long ftell(fp) - register const FILE *fp; + register FILE *fp; { register fpos_t pos; |