commit | 54c51a9c23876b292231608d01b85ebbb2cc976c | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@linux.intel.com> | Thu May 10 15:02:16 2012 -0700 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Thu May 10 15:02:16 2012 -0700 |
tree | 7191c5ee0b33dc27764946c7bbb11a2f0098888e | |
parent | 26cebd536042c9ec00eb5cc44c83bd2079751426 [diff] |
[klibc] Restructure the FILE object to allow simple inlines Restructure the FILE object so that functions which are simple accessors for the FILE object contents can get it from there, without unnecessarily exposing the internals. Furthermore, allocate the buffer and the file object in the same allocation; no need to have extra mallocs() for no reason. Signed-off-by: H. Peter Anvin <hpa@zytor.com>