deleted _tname from __iobuf structure

This commit is contained in:
eck 1990-04-09 15:38:02 +00:00
parent d2516d4eaf
commit 09a4136272
2 changed files with 3 additions and 4 deletions

View file

@ -17,7 +17,6 @@ typedef struct __iobuf {
int _fd; int _fd;
int _flags; int _flags;
int _bufsiz; int _bufsiz;
char *_tname;
unsigned char *_buf; unsigned char *_buf;
unsigned char *_ptr; unsigned char *_ptr;
} FILE; } FILE;

View file

@ -7,17 +7,17 @@
struct __iobuf __stdin = { struct __iobuf __stdin = {
0, 0, _IOREAD, 0, 0, 0, _IOREAD, 0,
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
}; };
struct __iobuf __stdout = { struct __iobuf __stdout = {
0, 1, _IOWRITE, 0, 0, 1, _IOWRITE, 0,
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
}; };
struct __iobuf __stderr = { struct __iobuf __stderr = {
0, 2, _IOWRITE | _IOLBF, 0, 0, 2, _IOWRITE | _IOLBF, 0,
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
}; };
FILE *__iotab[FOPEN_MAX] = { FILE *__iotab[FOPEN_MAX] = {