aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-11-09 07:57:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-11-09 07:57:55 +0000
commit9fe84226c3fbf7bfd21e090cbe950093bc7bd3e6 (patch)
treeb6107424aea45aead84247749c9ef68d94db2827 /include
parent977692d74ed7b26db68c1232d3dc355c16416a57 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 88508b07f37f..c41d5130220a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -128,7 +128,7 @@ typedef struct __sFILE {
} FILE;
__BEGIN_DECLS
-extern FILE __sF[];
+extern FILE *__stdinp, *__stdoutp, *__stderrp;
__END_DECLS
#define __SLBF 0x0001 /* line buffered */
@@ -190,9 +190,9 @@ __END_DECLS
#define SEEK_END 2 /* set file offset to EOF plus offset */
#endif
-#define stdin (&__sF[0])
-#define stdout (&__sF[1])
-#define stderr (&__sF[2])
+#define stdin (__stdinp)
+#define stdout (__stdoutp)
+#define stderr (__stderrp)
/*
* Functions defined in ANSI C standard.