diff options
Diffstat (limited to 'newlib/libc/stdio/makebuf.c')
-rw-r--r-- | newlib/libc/stdio/makebuf.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/newlib/libc/stdio/makebuf.c b/newlib/libc/stdio/makebuf.c index 48b664588..c4d03ecb6 100644 --- a/newlib/libc/stdio/makebuf.c +++ b/newlib/libc/stdio/makebuf.c @@ -1,5 +1,3 @@ -/* No user fns here. Pesch 15apr92. */ - /* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -16,13 +14,14 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +/* No user fns here. Pesch 15apr92. */ +#include <_ansi.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/unistd.h> - #include "local.h" /* @@ -33,9 +32,9 @@ * optimization) right after the _fstat() that finds the buffer size. */ -void -__smakebuf (fp) - register FILE *fp; +_VOID +_DEFUN(__smakebuf, (fp), + register FILE *fp) { register size_t size, couldbetty; register _PTR p; |