Zap the early-adopter transition aid before we get into serious

5.0-R territory, as threatened.  This only affects antique 5.0
systems that have not had a 'make world' done for well over a year.
This commit is contained in:
Peter Wemm 2002-10-11 22:38:17 +00:00
parent eec2e4bdde
commit 74a4ba21f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104941
3 changed files with 1 additions and 13 deletions

View File

@ -138,7 +138,6 @@ typedef struct __sFILE {
} FILE;
__BEGIN_DECLS
extern FILE __sF[];
extern FILE *__stdinp;
extern FILE *__stdoutp;
extern FILE *__stderrp;
@ -204,16 +203,9 @@ __END_DECLS
#define SEEK_END 2 /* set file offset to EOF plus offset */
#endif
/* To be removed by 5.0-RELEASE */
#if (defined(__i386__) || defined(__alpha__)) && defined(_OLD_STDIO)
#define stdin (&__sF[0])
#define stdout (&__sF[1])
#define stderr (&__sF[2])
#else
#define stdin __stdinp
#define stdout __stdoutp
#define stderr __stderrp
#endif
__BEGIN_DECLS
/*

View File

@ -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

View File

@ -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)