From 93f8a2e834eed69aff7ef3be8c2baba14bab0658 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 18 Sep 2009 23:07:26 +0200 Subject: convert // comments to /**/; remove empty #if/#endif pairs. no code changes Signed-off-by: Denys Vlasenko --- libc/stdio/_cs_funcs.c | 4 ---- libc/stdio/_scanf.c | 6 ------ libc/stdio/_vfprintf.c | 7 ------- libc/stdio/fgetc.c | 4 ---- libc/stdio/ftello.c | 3 --- 5 files changed, 24 deletions(-) (limited to 'libc/stdio') 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 #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 #include -#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 -- cgit v1.2.3