Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-01-16 22:29:16 +0300
committerJeff Johnston <jjohnstn@redhat.com>2004-01-16 22:29:16 +0300
commit4af71a917cdd86d78e783fda9fe1cb197cfee36b (patch)
treef1fb49cbd0ac1edcb2404c068f5726658f3b968a /newlib/libc/stdio/findfp.c
parent8e7014383b8dc99e3a804c530c31bde05511bd03 (diff)
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.c3
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;
}