[klibc] [klibc:master] Remove obsolete enum _IO_file_flags

klibc-bot for H. Peter Anvin hpa at linux.intel.com
Wed Apr 9 16:45:03 PDT 2014


Commit-ID:  e845d9b10c5699ef5f2f41a117f2211508f3d6bf
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e845d9b10c5699ef5f2f41a117f2211508f3d6bf
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 9 Apr 2014 16:41:47 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 9 Apr 2014 16:41:47 -0700

[klibc] Remove obsolete enum _IO_file_flags

This enum is not used anywhere.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>

---
 usr/klibc/stdio/stdioint.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/usr/klibc/stdio/stdioint.h b/usr/klibc/stdio/stdioint.h
index 526c25a..724c657 100644
--- a/usr/klibc/stdio/stdioint.h
+++ b/usr/klibc/stdio/stdioint.h
@@ -28,15 +28,6 @@ struct _IO_file_pvt {
 
 #define stdio_pvt(x) container_of(x, struct _IO_file_pvt, pub)
 
-enum _IO_file_flags {
-	_IO_FILE_FLAG_WRITE	=  1, /* Buffer has write data */
-	_IO_FILE_FLAG_READ	=  2, /* Buffer has read data */
-	_IO_FILE_FLAG_LINE_BUF  =  4, /* Line buffered */
-	_IO_FILE_FLAG_UNBUF     =  8, /* Unbuffered */
-	_IO_FILE_FLAG_EOF	= 16,
-	_IO_FILE_FLAG_ERR	= 32,
-};
-
 /* Assign this much extra to the input buffer in case of ungetc() */
 #define _IO_UNGET_SLOP	32
 


More information about the klibc mailing list