summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/fgets.c2
-rw-r--r--lib/libc/stdio/ftell.c2
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;
OpenPOWER on IntegriCloud