diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-08-17 02:56:31 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-08-17 02:56:31 +0000 |
| commit | c3c47314105745c39cfe9a67afc1ab39c5669bcc (patch) | |
| tree | ab872573a5ce001b59fcf38ef5de2342439a4969 /lib/libc/stdio/findfp.c | |
| parent | d81f9b4530689b5b6b7ba427923ddec88389c954 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
| -rw-r--r-- | lib/libc/stdio/findfp.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c index 9bb019e2d12d..c3bc74bdbcf7 100644 --- a/lib/libc/stdio/findfp.c +++ b/lib/libc/stdio/findfp.c @@ -81,18 +81,9 @@ struct glue __sglue = { &uglue, 3, __sF }; * symbols and expects libc to provide them. We only have need to support * i386 and alpha because they are the only "old" systems we have deployed. */ -#if defined(__i386__) -#define FILE_SIZE 88 -#elif defined(__alpha__) -#define FILE_SIZE 152 -#endif -#ifndef FILE_SIZE -#error "You must define FILE_SIZE for this platform" -#endif -#define X(loc, sym) __strong_reference(loc, sym) -X(__sF + FILE_SIZE * 0, __stdin); -X(__sF + FILE_SIZE * 1, __stdout); -X(__sF + FILE_SIZE * 2, __stderr); +FILE *__stdinp = &__sF[0]; +FILE *__stdoutp = &__sF[1]; +FILE *__stderrp = &__sF[2]; static struct glue * moreglue __P((int)); |
