summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-11-14 14:06:14 +0000
committerWarner Losh <imp@FreeBSD.org>2002-11-14 14:06:14 +0000
commitcf04ed1bdf4e58fd2ae592a318788201feccd424 (patch)
treef93b97dda2ddfe34c67f7d6c6de2ea1921427eb4 /lib/libc
parentb2423a5f88bf5bf4f68680b84e9da5b226df2893 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/findfp.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c
index 40a2a048eb64..270ec8aa6f17 100644
--- a/lib/libc/stdio/findfp.c
+++ b/lib/libc/stdio/findfp.c
@@ -69,9 +69,12 @@ static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
static struct __sFILEX __sFX[3];
-#if LIBC_MAJOR >= 6
-static
-#endif
+/*
+ * We can't make this 'static' until 6.0-current due to binary
+ * compatibility concerns. This also means we cannot change the
+ * sizeof(FILE) until that time either and must continue to use the
+ * __sFILEX stuff to add to FILE.
+ */
FILE __sF[3] = {
std(__SRD, STDIN_FILENO),
std(__SWR, STDOUT_FILENO),