summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-18 23:07:26 +0200
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 15:09:09 -0700
commitf24043265df1282591a0930db41a75bcd3523387 (patch)
tree5884c766f8fc706669cfc88abd1192fcb8c96c4c /libc/sysdeps/linux/common
parent8eee4fd5b928613578b8d4420016c36e4d27fe81 (diff)
downloaduClibc-alpine-f24043265df1282591a0930db41a75bcd3523387.tar.bz2
uClibc-alpine-f24043265df1282591a0930db41a75bcd3523387.tar.xz
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.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. */