diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-27 11:54:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-27 11:54:09 +0000 |
commit | 15a686af58c659a0c6c336582b9f1f6514a67137 (patch) | |
tree | 93ef3c799c7065ceb7cce4db3f3e5b223516049c /libio/fileops.c | |
parent | fd54683c976e506e6311d0fc5d59a7a2d1387d42 (diff) | |
download | glibc-15a686af58c659a0c6c336582b9f1f6514a67137.tar glibc-15a686af58c659a0c6c336582b9f1f6514a67137.tar.gz glibc-15a686af58c659a0c6c336582b9f1f6514a67137.tar.bz2 glibc-15a686af58c659a0c6c336582b9f1f6514a67137.zip |
* scripts/abilist.awk: If variable `parse_names' is set, grok the file
header lines and write out foo.symlist files for each foo.so.NN listed.
* libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
This symbol is exported, and we don't want to hide it.
Add libc_hidden_proto instead.
(_IO_file_jumps): Add libc_hidden_proto.
* libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
Remove INTVARDEF.
* libio/fileops.c (_IO_file_jumps): Likewise.
* libio/stdfiles.c: Don't use INTUSE on them.
* libio/iofdopen.c (_IO_new_fdopen): Likewise.
* libio/iofopen.c (__fopen_internal): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
Diffstat (limited to 'libio/fileops.c')
-rw-r--r-- | libio/fileops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libio/fileops.c b/libio/fileops.c index d7be49e43b..3277af8a32 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -457,7 +457,7 @@ _IO_file_setbuf_mmap (fp, p, len) _IO_FILE *result; /* Change the function table. */ - _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &INTUSE(_IO_file_jumps); + _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps; fp->_wide_data->_wide_vtable = &_IO_wfile_jumps; /* And perform the normal operation. */ @@ -709,7 +709,7 @@ mmap_remap_check (_IO_FILE *fp) fp->_IO_buf_base = fp->_IO_buf_end = NULL; _IO_setg (fp, NULL, NULL, NULL); if (fp->_mode <= 0) - _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &INTUSE(_IO_file_jumps); + _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps; else _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_wfile_jumps; fp->_wide_data->_wide_vtable = &_IO_wfile_jumps; @@ -802,7 +802,7 @@ decide_maybe_mmap (_IO_FILE *fp) /* We couldn't use mmap, so revert to the vanilla file operations. */ if (fp->_mode <= 0) - _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &INTUSE(_IO_file_jumps); + _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps; else _IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_wfile_jumps; fp->_wide_data->_wide_vtable = &_IO_wfile_jumps; @@ -1587,7 +1587,7 @@ struct _IO_jump_t _IO_file_jumps = JUMP_INIT(showmanyc, _IO_default_showmanyc), JUMP_INIT(imbue, _IO_default_imbue) }; -INTVARDEF(_IO_file_jumps) +libc_hidden_data_def (_IO_file_jumps) struct _IO_jump_t _IO_file_jumps_mmap = { |