summaryrefslogtreecommitdiff
path: root/libc/stdio/vswprintf.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-09 19:52:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-09 19:52:13 +0000
commit023509e8e5f1ad1f6a61cdec061d43e69a16ebc3 (patch)
tree1a96bfe648b08ccd9359bfcca8c13bcfd05a0938 /libc/stdio/vswprintf.c
parent36ac7bee0f6b0be35eafd74e0fc865edd2352197 (diff)
Remove vestigial locking init from sprintf routines.
Diffstat (limited to 'libc/stdio/vswprintf.c')
-rw-r--r--libc/stdio/vswprintf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/stdio/vswprintf.c b/libc/stdio/vswprintf.c
index 919ac2132..f80bb5f64 100644
--- a/libc/stdio/vswprintf.c
+++ b/libc/stdio/vswprintf.c
@@ -38,10 +38,6 @@ int vswprintf(wchar_t *__restrict buf, size_t size,
__INIT_MBSTATE(&(f.__state));
#endif /* __STDIO_MBSTATE */
-#ifdef __UCLIBC_HAS_THREADS__
- f.__user_locking = 1; /* Set user locking. */
- __stdio_init_mutex(&f.__lock);
-#endif
f.__nextopen = NULL;
if (size > ((SIZE_MAX - (size_t) buf)/sizeof(wchar_t))) {