diff options
author | Zack Weinberg <zackw@panix.com> | 2018-02-07 19:41:01 -0500 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-02-21 14:22:50 -0500 |
commit | df6c012b99499d95ed7fee53553a9f4d4473ccae (patch) | |
tree | 09c971734b9a5d34ae9116966e828273ceaf83d7 /libio/strops.c | |
parent | Remove legacy configuration knobs from libio. (diff) | |
download | glibc-df6c012b99499d95ed7fee53553a9f4d4473ccae.tar.gz glibc-df6c012b99499d95ed7fee53553a9f4d4473ccae.tar.bz2 glibc-df6c012b99499d95ed7fee53553a9f4d4473ccae.zip |
Remove _IO_file_flags define.
This entirely mechanical (except for some indentation fixups) patch
replaces all uses of _IO_file_flags with _flags and removes the #define.
Installed stripped libraries and executables are unchanged by this patch.
* libio/libio.h (_IO_file_flags): Remove macro.
All uses changed to _flags.
Diffstat (limited to 'libio/strops.c')
-rw-r--r-- | libio/strops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/strops.c b/libio/strops.c index adfa80749c..eddd722c09 100644 --- a/libio/strops.c +++ b/libio/strops.c @@ -74,7 +74,7 @@ void _IO_str_init_readonly (_IO_strfile *sf, const char *ptr, int size) { _IO_str_init_static_internal (sf, (char *) ptr, size < 0 ? -1 : size, NULL); - sf->_sbf._f._IO_file_flags |= _IO_NO_WRITES; + sf->_sbf._f._flags |= _IO_NO_WRITES; } int |