From 5a6307cf42c5b4965435b3b7af74a37fd4dc17b9 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 23 Apr 2013 14:36:44 +0000 Subject: Convert libc/stdio from K&R to ANSI C And add '__restrict' where it appeared in the header prototypes --- lib/libc/stdio/makebuf.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/libc/stdio/makebuf.c') diff --git a/lib/libc/stdio/makebuf.c b/lib/libc/stdio/makebuf.c index 42f77cdc0a2b..a92087e0eae7 100644 --- a/lib/libc/stdio/makebuf.c +++ b/lib/libc/stdio/makebuf.c @@ -55,8 +55,7 @@ __FBSDID("$FreeBSD$"); * optimisation) right after the _fstat() that finds the buffer size. */ void -__smakebuf(fp) - FILE *fp; +__smakebuf(FILE *fp) { void *p; int flags; @@ -88,10 +87,7 @@ __smakebuf(fp) * Internal routine to determine `proper' buffering for a file. */ int -__swhatbuf(fp, bufsize, couldbetty) - FILE *fp; - size_t *bufsize; - int *couldbetty; +__swhatbuf(FILE *fp, size_t *bufsize, int *couldbetty) { struct stat st; -- cgit v1.2.3