summary refs log tree commit diff
path: root/libio/bits
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-02-07 19:41:01 -0500
committerZack Weinberg <zackw@panix.com>2018-02-21 14:22:50 -0500
commitdf6c012b99499d95ed7fee53553a9f4d4473ccae (patch)
tree09c971734b9a5d34ae9116966e828273ceaf83d7 /libio/bits
parent177aad3ff637b32550aec8080314d76a189f7a03 (diff)
downloadglibc-df6c012b99499d95ed7fee53553a9f4d4473ccae.tar.gz
glibc-df6c012b99499d95ed7fee53553a9f4d4473ccae.tar.xz
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/bits')
-rw-r--r--libio/bits/types/struct_FILE.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/bits/types/struct_FILE.h b/libio/bits/types/struct_FILE.h
index a120c76268..359f949453 100644
--- a/libio/bits/types/struct_FILE.h
+++ b/libio/bits/types/struct_FILE.h
@@ -108,10 +108,10 @@ struct _IO_FILE_complete
    ? __overflow (_fp, (unsigned char) (_ch))				\
    : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
 
-#define _IO_EOF_SEEN 0x10
+#define _IO_EOF_SEEN 0x0010
 #define __feof_unlocked_body(_fp) (((_fp)->_flags & _IO_EOF_SEEN) != 0)
 
-#define _IO_ERR_SEEN 0x20
+#define _IO_ERR_SEEN 0x0020
 #define __ferror_unlocked_body(_fp) (((_fp)->_flags & _IO_ERR_SEEN) != 0)
 
 #define _IO_USER_LOCK 0x8000