summaryrefslogtreecommitdiffstats
path: root/libpthread
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 /libpthread
parent21730caa6647f645974e132ca8afec79b4eeab2b (diff)
downloaduClibc-alpine-93f8a2e834eed69aff7ef3be8c2baba14bab0658.tar.bz2
uClibc-alpine-93f8a2e834eed69aff7ef3be8c2baba14bab0658.tar.xz
convert // comments to /**/; remove empty #if/#endif pairs. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/attr.c2
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c3
-rw-r--r--libpthread/linuxthreads.old/ptfork.c2
-rw-r--r--libpthread/linuxthreads/libc_pthread_init.c5
4 files changed, 2 insertions, 10 deletions
diff --git a/libpthread/linuxthreads.old/attr.c b/libpthread/linuxthreads.old/attr.c
index 159b67d4b..8465c234c 100644
--- a/libpthread/linuxthreads.old/attr.c
+++ b/libpthread/linuxthreads.old/attr.c
@@ -42,7 +42,7 @@ libpthread_hidden_proto(pthread_attr_setscope)
* Therefore, define the function pthread_attr_init() here using
* a strong symbol. */
-//int __pthread_attr_init_2_1(pthread_attr_t *attr)
+/*int __pthread_attr_init_2_1(pthread_attr_t *attr)*/
int pthread_attr_init(pthread_attr_t *attr)
{
size_t ps = getpagesize ();
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c
index 9d0b27227..b54162d6c 100644
--- a/libpthread/linuxthreads.old/libc_pthread_init.c
+++ b/libpthread/linuxthreads.old/libc_pthread_init.c
@@ -36,9 +36,6 @@
#include "sysdeps/pthread/pthread-functions.h"
-#if ! defined USE___THREAD && defined __UCLIBC_HAS_XLOCALE__
-#endif
-
int __libc_multiple_threads attribute_hidden __attribute__((nocommon));
int * __libc_pthread_init (const struct pthread_functions *functions)
diff --git a/libpthread/linuxthreads.old/ptfork.c b/libpthread/linuxthreads.old/ptfork.c
index 7a5749efc..47a567d23 100644
--- a/libpthread/linuxthreads.old/ptfork.c
+++ b/libpthread/linuxthreads.old/ptfork.c
@@ -82,7 +82,7 @@ int pthread_atfork(void (*prepare)(void),
__pthread_mutex_unlock(&pthread_atfork_lock);
return 0;
}
-//strong_alias (__pthread_atfork, pthread_atfork)
+/*strong_alias (__pthread_atfork, pthread_atfork)*/
static __inline__ void pthread_call_handlers(struct handler_list * list)
{
diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c
index cd950aa31..afe995ae8 100644
--- a/libpthread/linuxthreads/libc_pthread_init.c
+++ b/libpthread/linuxthreads/libc_pthread_init.c
@@ -25,11 +25,6 @@
#endif
#include "internals.h"
-#ifdef SHARED
-#endif
-
-#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
-#endif
int __libc_multiple_threads attribute_hidden __attribute__((nocommon));
strong_alias (__libc_multiple_threads, __librt_multiple_threads)