summaryrefslogtreecommitdiff
path: root/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
commit7aa9c2486c2d85a8de6204ab3734f457d450cdb6 (patch)
tree7ce42796e9613af1c50ffe8676f4bf5f85d44b27 /libc/stdio/vdprintf.c
parent93f8a2e834eed69aff7ef3be8c2baba14bab0658 (diff)
remove a few more empty #if/#endif pairs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/stdio/vdprintf.c')
-rw-r--r--libc/stdio/vdprintf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/stdio/vdprintf.c b/libc/stdio/vdprintf.c
index 8e9926ff0..e3405e411 100644
--- a/libc/stdio/vdprintf.c
+++ b/libc/stdio/vdprintf.c
@@ -11,8 +11,6 @@
#include "_stdio.h"
#include <stdarg.h>
-#ifdef __USE_OLD_VFPRINTF__
-#endif
int vdprintf(int filedes, const char * __restrict format, va_list arg)
{
@@ -42,10 +40,10 @@ int vdprintf(int filedes, const char * __restrict format, va_list arg)
#ifdef __UCLIBC_HAS_WCHAR__
f.__ungot_width[0] = 0;
-#endif /* __UCLIBC_HAS_WCHAR__ */
+#endif
#ifdef __STDIO_MBSTATE
__INIT_MBSTATE(&(f.__state));
-#endif /* __STDIO_MBSTATE */
+#endif
/* _vfprintf_internal doesn't do any locking, locking init is here
* only because of fflush_unlocked. TODO? */