summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/reent.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-11-24 17:15:43 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-11-24 17:15:43 +0000
commit14773e10a01ea162bb305975a4d439c52a620876 (patch)
treebd30c6fb336f7fc6d30fce9193d3005711f03b71 /newlib/libc/include/sys/reent.h
parentd6f6f50285a4e6c05d1aad108da1d8da13cce004 (diff)
downloadcygnal-14773e10a01ea162bb305975a4d439c52a620876.tar.gz
cygnal-14773e10a01ea162bb305975a4d439c52a620876.tar.bz2
cygnal-14773e10a01ea162bb305975a4d439c52a620876.zip
* libc/include/stdio.h (__SMOD): Remove definition of unused flag.
* libc/include/sys/reent.h (struct __sFILE): Add _flags2 member. * libc/stdio/findfp.c (std): Initialize _flags2. (__sfp): Ditto. * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag. * libc/stdio/vfscanf.c (__ssrefill_r): Ditto. * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag. * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
Diffstat (limited to 'newlib/libc/include/sys/reent.h')
-rw-r--r--newlib/libc/include/sys/reent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index 7857a37b3..b5d5c7da5 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -212,6 +212,7 @@ struct __sFILE {
#ifndef __SINGLE_THREAD__
_flock_t _lock; /* for thread-safety locking */
#endif
+ int _flags2; /* for future use */
};
#ifdef __CUSTOM_FILE_IO__