diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-10 13:27:06 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-10 13:27:06 -0700 |
commit | 7649a96452442acaccf14498293676ef2c445504 (patch) | |
tree | 43737327fbffd8bf62b72d9cf8761f5050eed84f | |
parent | f8e0ad9812f5e3fe0e7006061b1d5f9f67a80325 (diff) | |
download | klibc-7649a96452442acaccf14498293676ef2c445504.tar.gz |
[klibc] Move _IO_file_flags from stdio.h to stdioint.h
Nothing outside the stdio directory uses these flags anymore.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/include/stdio.h | 9 | ||||
-rw-r--r-- | usr/klibc/stdio/stdioint.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/usr/include/stdio.h b/usr/include/stdio.h index 1bddd31a53ff1..17f93c43a1d4d 100644 --- a/usr/include/stdio.h +++ b/usr/include/stdio.h @@ -14,15 +14,6 @@ struct _IO_file; typedef struct _IO_file FILE; -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, -}; - #ifndef EOF # define EOF (-1) #endif diff --git a/usr/klibc/stdio/stdioint.h b/usr/klibc/stdio/stdioint.h index e9555003226ff..f57c589abf8a8 100644 --- a/usr/klibc/stdio/stdioint.h +++ b/usr/klibc/stdio/stdioint.h @@ -25,6 +25,15 @@ struct _IO_file { int flags; /* Error, end of file */ }; +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 |