diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-01-16 19:29:16 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-01-16 19:29:16 +0000 |
commit | 4af71a917cdd86d78e783fda9fe1cb197cfee36b (patch) | |
tree | f1fb49cbd0ac1edcb2404c068f5726658f3b968a /newlib/libc/stdio/findfp.c | |
parent | 8e7014383b8dc99e3a804c530c31bde05511bd03 (diff) | |
download | cygnal-4af71a917cdd86d78e783fda9fe1cb197cfee36b.tar.gz cygnal-4af71a917cdd86d78e783fda9fe1cb197cfee36b.tar.bz2 cygnal-4af71a917cdd86d78e783fda9fe1cb197cfee36b.zip |
2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
* libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
* libc/stdio/vfprintf.c (__sbprintf): Ditto.
Add calls to __lock_init_recursive and __lock_close_recursive
instead.
Diffstat (limited to 'newlib/libc/stdio/findfp.c')
-rw-r--r-- | newlib/libc/stdio/findfp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c index efbb62561..aff231ed4 100644 --- a/newlib/libc/stdio/findfp.c +++ b/newlib/libc/stdio/findfp.c @@ -114,9 +114,6 @@ found: fp->_ub._size = 0; fp->_lb._base = NULL; /* no line buffer */ fp->_lb._size = 0; -#ifndef __SINGLE_THREAD__ - memset (&fp->_lock, 0, sizeof(fp->_lock)); -#endif return fp; } |