summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-18 23:07:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-18 23:07:26 +0200
commit93f8a2e834eed69aff7ef3be8c2baba14bab0658 (patch)
tree347b5239f26d3b5f526fffcf7afe151e83124a61 /libc/stdio
parent21730caa6647f645974e132ca8afec79b4eeab2b (diff)
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_cs_funcs.c4
-rw-r--r--libc/stdio/_scanf.c6
-rw-r--r--libc/stdio/_vfprintf.c7
-rw-r--r--libc/stdio/fgetc.c4
-rw-r--r--libc/stdio/ftello.c3
5 files changed, 0 insertions, 24 deletions
diff --git a/libc/stdio/_cs_funcs.c b/libc/stdio/_cs_funcs.c
index 49b636b19..9df93f227 100644
--- a/libc/stdio/_cs_funcs.c
+++ b/libc/stdio/_cs_funcs.c
@@ -7,10 +7,6 @@
#include "_stdio.h"
-#ifdef __UCLIBC_HAS_LFS__
-#else
-#endif
-
/**********************************************************************/
#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
/**********************************************************************/
diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c
index 11d5c7854..914311877 100644
--- a/libc/stdio/_scanf.c
+++ b/libc/stdio/_scanf.c
@@ -77,12 +77,6 @@
#include <bits/uClibc_fpmax.h>
#endif /* __UCLIBC_HAS_FLOATS__ */
-#ifdef __UCLIBC_HAS_WCHAR__
-#endif
-#ifdef __UCLIBC_HAS_XLOCALE__
-#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-#endif
-
#ifdef __UCLIBC_HAS_SCANF_GLIBC_A_FLAG__
#ifdef L_vfscanf
/* only emit this once */
diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c
index d651cc965..f288cb501 100644
--- a/libc/stdio/_vfprintf.c
+++ b/libc/stdio/_vfprintf.c
@@ -115,9 +115,6 @@
#include <bits/uClibc_uintmaxtostr.h>
#include <bits/uClibc_va_copy.h>
-#ifdef __UCLIBC_HAS_WCHAR__
-#endif
-
/* Some older or broken gcc toolchains define LONG_LONG_MAX but not
* LLONG_MAX. Since LLONG_MAX is part of the standard, that's what
* we use. So complain if we do not have it but should.
@@ -714,10 +711,6 @@ void attribute_hidden _ppfs_setargs(register ppfs_t *ppfs)
/**********************************************************************/
#ifdef L__ppfs_parsespec
-#ifdef __UCLIBC_HAS_XLOCALE__
-#elif defined __UCLIBC_HAS_CTYPE_TABLES__
-#endif
-
/* Notes: argtype differs from glibc for the following:
* mine glibc
* lc PA_WCHAR PA_CHAR the standard says %lc means %C
diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c
index fc25002ee..56a284c02 100644
--- a/libc/stdio/fgetc.c
+++ b/libc/stdio/fgetc.c
@@ -76,10 +76,6 @@ libc_hidden_def(__fgetc_unlocked)
strong_alias(__fgetc_unlocked,fgetc_unlocked)
libc_hidden_def(fgetc_unlocked)
-///* libc_hidden_proto(__getc_unlocked) */
-//strong_alias(__fgetc_unlocked,__getc_unlocked)
-//libc_hidden_def(__getc_unlocked)
-
strong_alias(__fgetc_unlocked,getc_unlocked)
libc_hidden_def(getc_unlocked)
diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c
index ad8f4df60..e8ff36533 100644
--- a/libc/stdio/ftello.c
+++ b/libc/stdio/ftello.c
@@ -7,9 +7,6 @@
#include "_stdio.h"
-#ifdef __UCLIBC_HAS_LFS__
-#endif
-
#ifndef __DO_LARGEFILE
# define FTELL ftell
# define OFFSET_TYPE long int