From df6c012b99499d95ed7fee53553a9f4d4473ccae Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 7 Feb 2018 19:41:01 -0500 Subject: 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. --- libio/oldfileops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/oldfileops.c') diff --git a/libio/oldfileops.c b/libio/oldfileops.c index e824a64bba..7298bf5324 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -102,7 +102,7 @@ _IO_old_file_init_internal (struct _IO_FILE_plus *fp) of our file descriptor. Hence we actually don't know the actual position before we do the first fseek (and until a following fflush). */ fp->file._old_offset = _IO_pos_BAD; - fp->file._IO_file_flags |= CLOSED_FILEBUF_FLAGS; + fp->file._flags |= CLOSED_FILEBUF_FLAGS; _IO_link_in (fp); fp->file._vtable_offset = ((int) sizeof (struct _IO_FILE) -- cgit v1.2.3