summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-01-24 21:51:38 +0000
committerRoland McGrath <roland@gnu.org>1994-01-24 21:51:38 +0000
commit0ea9d6057d03d60927b8d0d0799e9b1fde9d85cf (patch)
tree329b7dd059959538b2faabb0514ede412e9cae2d /stdio
parentba292bc285799de7cbb43d0079fcb44617f76080 (diff)
Formerly ../stdio/tst-fileno.c.~2~
Diffstat (limited to 'stdio')
-rw-r--r--stdio/tst-fileno.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio/tst-fileno.c b/stdio/tst-fileno.c
index 950ae7be70..bf84e172e9 100644
--- a/stdio/tst-fileno.c
+++ b/stdio/tst-fileno.c
@@ -16,6 +16,7 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
+#include <ansidecl.h>
#include <stdio.h>
#include <unistd.h>
@@ -28,7 +29,7 @@ DEFUN(check, (name, stream, fd), CONST char *name FILE *stream AND int fd)
}
int
-main ()
+DEFUN_VOID(main)
{
exit (check ("stdin", stdin, STDIN_FILENO) ||
check ("stdout", stdout, STDOUT_FILENO) ||