diff options
Diffstat (limited to 'newlib/libc/stdio/flags.c')
-rw-r--r-- | newlib/libc/stdio/flags.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/newlib/libc/stdio/flags.c b/newlib/libc/stdio/flags.c index e448cca80..d7bf52b97 100644 --- a/newlib/libc/stdio/flags.c +++ b/newlib/libc/stdio/flags.c @@ -1,5 +1,3 @@ -/* No user fns here. Pesch 15apr92 */ - /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. @@ -16,11 +14,12 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +/* No user fns here. Pesch 15apr92 */ +#include <_ansi.h> #include <stdio.h> #include <time.h> #include <fcntl.h> - #include <errno.h> #include <sys/types.h> @@ -31,10 +30,10 @@ */ int -__sflags (ptr, mode, optr) - struct _reent *ptr; - register char *mode; - int *optr; +_DEFUN(__sflags, (ptr, mode, optr), + struct _reent *ptr _AND + register char *mode _AND + int *optr) { register int ret, m, o; |