summaryrefslogtreecommitdiffstats
path: root/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:09:48 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 17:17:32 -0700
commit55fa359b3f06fd01ee30267c7795b2dd1cf32bf2 (patch)
tree874970b5dd8c160eea862f90798b04c40e4176ca /libc/stdio/vdprintf.c
parent0937a4c490a370744c539bd31decfd9e4e61db55 (diff)
downloaduClibc-alpine-55fa359b3f06fd01ee30267c7795b2dd1cf32bf2.tar.bz2
uClibc-alpine-55fa359b3f06fd01ee30267c7795b2dd1cf32bf2.tar.xz
remove a few more empty #if/#endif pairs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.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 ceafafac4..457018bcf 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? */