summaryrefslogtreecommitdiff
path: root/libc/stdio
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
parent93f8a2e834eed69aff7ef3be8c2baba14bab0658 (diff)
remove a few more empty #if/#endif pairs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fseeko.c3
-rw-r--r--libc/stdio/vasprintf.c4
-rw-r--r--libc/stdio/vdprintf.c6
-rw-r--r--libc/stdio/vsnprintf.c3
4 files changed, 2 insertions, 14 deletions
diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c
index 5f3bbbb98..3caf1ac79 100644
--- a/libc/stdio/fseeko.c
+++ b/libc/stdio/fseeko.c
@@ -16,9 +16,6 @@
# define OFFSET_TYPE long int
#endif
-#ifdef __UCLIBC_HAS_LFS__
-#endif
-
int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence)
{
#if defined(__UCLIBC_HAS_LFS__) && !defined(__DO_LARGEFILE)
diff --git a/libc/stdio/vasprintf.c b/libc/stdio/vasprintf.c
index 175c497a5..a901ee815 100644
--- a/libc/stdio/vasprintf.c
+++ b/libc/stdio/vasprintf.c
@@ -22,10 +22,6 @@
#warning Skipping vasprintf since no vsnprintf!
#else
-#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
-#else
-#endif
-
int vasprintf(char **__restrict buf, const char * __restrict format,
va_list arg)
{
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? */
diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c
index 7eb91eeff..07cff3410 100644
--- a/libc/stdio/vsnprintf.c
+++ b/libc/stdio/vsnprintf.c
@@ -9,9 +9,6 @@
#include <stdarg.h>
-#ifdef __USE_OLD_VFPRINTF__
-#endif
-
#ifdef __UCLIBC_MJN3_ONLY__
#warning WISHLIST: Implement vsnprintf for non-buffered and no custom stream case.
#endif /* __UCLIBC_MJN3_ONLY__ */