diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-19 02:09:48 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-09-18 17:17:32 -0700 |
commit | 55fa359b3f06fd01ee30267c7795b2dd1cf32bf2 (patch) | |
tree | 874970b5dd8c160eea862f90798b04c40e4176ca /libc/stdio | |
parent | 0937a4c490a370744c539bd31decfd9e4e61db55 (diff) | |
download | uClibc-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')
-rw-r--r-- | libc/stdio/fseeko.c | 3 | ||||
-rw-r--r-- | libc/stdio/vasprintf.c | 4 | ||||
-rw-r--r-- | libc/stdio/vdprintf.c | 6 | ||||
-rw-r--r-- | libc/stdio/vsnprintf.c | 3 |
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 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? */ diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c index 7ff464e54..31adc52b6 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__ */ |