diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-10-11 22:38:17 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-10-11 22:38:17 +0000 |
| commit | 74a4ba21f78e3843e7efa512c4a2e4a002230c1d (patch) | |
| tree | 469649b87a1ec369b6bffe8e398f139431d96eb7 /lib | |
| parent | eec2e4bdded25406022b702bd7ef410d01b7cdb5 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/Makefile | 1 | ||||
| -rw-r--r-- | lib/libc/stdio/findfp.c | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 59e3578bf6ee..757e2faad17c 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -10,7 +10,6 @@ # system call stubs. LIB=c SHLIB_MAJOR= 5 -CFLAGS+=-DLIBC_MAJOR=${SHLIB_MAJOR} CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include AINC= -I${.CURDIR}/${MACHINE_ARCH} CLEANFILES+=tags diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c index 40a2a048eb64..5538a57260bc 100644 --- a/lib/libc/stdio/findfp.c +++ b/lib/libc/stdio/findfp.c @@ -69,10 +69,7 @@ static struct glue uglue = { NULL, FOPEN_MAX - 3, usual }; static struct __sFILEX __sFX[3]; -#if LIBC_MAJOR >= 6 -static -#endif -FILE __sF[3] = { +static FILE __sF[3] = { std(__SRD, STDIN_FILENO), std(__SWR, STDOUT_FILENO), std(__SWR|__SNBF, STDERR_FILENO) |
