diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-09-16 21:18:50 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-09-16 21:18:50 +0000 |
commit | c77672c0fd86170f7128b19bb4030710c41ab794 (patch) | |
tree | 234550e9a7d4272a5d6de2cfa010cd5a2647969e | |
parent | 5c44c2e54639389e7b72d6307ca0a5863bfe142b (diff) | |
download | newlib-c77672c0fd86170f7128b19bb4030710c41ab794.zip newlib-c77672c0fd86170f7128b19bb4030710c41ab794.tar.gz newlib-c77672c0fd86170f7128b19bb4030710c41ab794.tar.bz2 |
2004-09-16 Antony King <antony.king@st.com>
* libc/stdio64/freopen64.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/stdio64/freopen64.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index c24d76c..2dfa2d0 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2004-09-16 Antony King <antony.king@st.com> + * libc/stdio64/freopen64.c: Remove casting of fp lock to + _LOCK_RECURSIVE_T. + +2004-09-16 Antony King <antony.king@st.com> + * libc/time/tzlock.c: Add default stubs that use generic locking code. diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index 42fe6fb..fc84659 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -157,7 +157,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp), ptr->_errno = e; /* restore in case _close clobbered */ _funlockfile(fp); #ifndef __SINGLE_THREAD__ - __lock_close_recursive (*(_LOCK_RECURSIVE_T *)&fp->_lock); + __lock_close_recursive (fp->_lock); #endif __sfp_lock_release (); return NULL; |