summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/findfp.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-11-10 08:44:38 +0000
committerWarner Losh <imp@FreeBSD.org>2002-11-10 08:44:38 +0000
commitc906b66373f3bd80fc623b7a92d84281eb07a997 (patch)
tree121b93d5c107769cf411dcf7931fafd21985c5be /lib/libc/stdio/findfp.c
parentd154fb4fe66d98a7ea9f6e1bc7d1fa698c143c04 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
-rw-r--r--lib/libc/stdio/findfp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c
index 5538a57260bc..40a2a048eb64 100644
--- a/lib/libc/stdio/findfp.c
+++ b/lib/libc/stdio/findfp.c
@@ -69,7 +69,10 @@ static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
static struct __sFILEX __sFX[3];
-static FILE __sF[3] = {
+#if LIBC_MAJOR >= 6
+static
+#endif
+FILE __sF[3] = {
std(__SRD, STDIN_FILENO),
std(__SWR, STDOUT_FILENO),
std(__SWR|__SNBF, STDERR_FILENO)