summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
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__ */