summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/findfp.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-11-04 03:23:56 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-11-04 03:23:56 +0000
commitac1cc6ee11f1bf62faa8f6add0bc4adaa986656a (patch)
treef57ee4f74773102ae5cfdd3cc73849b40c4b9a31 /lib/libc/stdio/findfp.c
parent518792d85ca4cbfcd5873a4042e3d67e4ba0d05a (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
-rw-r--r--lib/libc/stdio/findfp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c
index 283ff5ca3bc4..5538a57260bc 100644
--- a/lib/libc/stdio/findfp.c
+++ b/lib/libc/stdio/findfp.c
@@ -69,16 +69,12 @@ static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
static struct __sFILEX __sFX[3];
-#ifndef COMPAT4_STDIO
-static
-#endif
-FILE __sF[3] = {
+static FILE __sF[3] = {
std(__SRD, STDIN_FILENO),
std(__SWR, STDOUT_FILENO),
std(__SWR|__SNBF, STDERR_FILENO)
};
-
/*
* The following kludge is done to ensure enough binary compatibility
* with future versions of libc. Or rather it allows us to work with