summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
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/sysdeps/linux/common
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/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_ctype.h9
-rw-r--r--libc/sysdeps/linux/common/getdirname.c4
2 files changed, 5 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_ctype.h b/libc/sysdeps/linux/common/bits/uClibc_ctype.h
index 9fe1f5fc4..43371286b 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_ctype.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_ctype.h
@@ -143,10 +143,11 @@ __END_DECLS
# define __ispunct(c) __body(ispunct,c)
# define __isgraph(c) __body(isgraph,c)
-//locale-aware ctype.h has no __tolower, why stub locale
-//tries to have it? remove after 0.9.31
-//# define __tolower(c) __body(tolower,c)
-//# define __toupper(c) __body(toupper,c)
+/*locale-aware ctype.h has no __tolower, why stub locale
+ *tries to have it? remove after 0.9.31
+ *# define __tolower(c) __body(tolower,c)
+ *# define __toupper(c) __body(toupper,c)
+ */
/* Do not combine in one #if - unifdef tool is not that clever */
# ifndef __NO_CTYPE
diff --git a/libc/sysdeps/linux/common/getdirname.c b/libc/sysdeps/linux/common/getdirname.c
index 63b9b750e..c02f66bb9 100644
--- a/libc/sysdeps/linux/common/getdirname.c
+++ b/libc/sysdeps/linux/common/getdirname.c
@@ -25,10 +25,6 @@
#include <stdlib.h>
#include <string.h>
-#ifdef __UCLIBC_HAS_LFS__
-#else
-#endif
-
/* Return a malloc'd string containing the current directory name.
If the environment variable `PWD' is set, and its value is correct,
that value is used. */