deleted _tname from __iobuf structure
This commit is contained in:
parent
d2516d4eaf
commit
09a4136272
2 changed files with 3 additions and 4 deletions
|
@ -17,7 +17,6 @@ typedef struct __iobuf {
|
|||
int _fd;
|
||||
int _flags;
|
||||
int _bufsiz;
|
||||
char *_tname;
|
||||
unsigned char *_buf;
|
||||
unsigned char *_ptr;
|
||||
} FILE;
|
||||
|
|
|
@ -7,17 +7,17 @@
|
|||
|
||||
struct __iobuf __stdin = {
|
||||
0, 0, _IOREAD, 0,
|
||||
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
|
||||
(unsigned char *)NULL, (unsigned char *)NULL,
|
||||
};
|
||||
|
||||
struct __iobuf __stdout = {
|
||||
0, 1, _IOWRITE, 0,
|
||||
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
|
||||
(unsigned char *)NULL, (unsigned char *)NULL,
|
||||
};
|
||||
|
||||
struct __iobuf __stderr = {
|
||||
0, 2, _IOWRITE | _IOLBF, 0,
|
||||
(char *)NULL, (unsigned char *)NULL, (unsigned char *)NULL,
|
||||
(unsigned char *)NULL, (unsigned char *)NULL,
|
||||
};
|
||||
|
||||
FILE *__iotab[FOPEN_MAX] = {
|
||||
|
|
Loading…
Reference in a new issue