summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-29 08:15:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-29 08:15:24 +0000
commit68b4b57e17015a5bec318fd62b330028172ac6a9 (patch)
treea2c342d3aa711022d787cc7bc23a1259c8b2b75a /libpthread
parent19d153101a5b717c0603381967b8b21dccadeb77 (diff)
kill off some signedness/unused warnings
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c
index a5ad27c15..a5ac1e24a 100644
--- a/libpthread/linuxthreads.old/pthread.c
+++ b/libpthread/linuxthreads.old/pthread.c
@@ -303,7 +303,7 @@ static void pthread_initialize(void)
struct sigaction sa;
sigset_t mask;
struct rlimit limit;
- int max_stack;
+ rlim_t max_stack;
/* If already done (e.g. by a constructor called earlier!), bail out */
if (__pthread_initial_thread_bos != NULL) return;
@@ -654,7 +654,7 @@ int pthread_getschedparam(pthread_t thread, int *policy,
/* Process-wide exit() request */
-static void pthread_onexit_process(int retcode, void *arg)
+static void pthread_onexit_process(int retcode, void *arg attribute_unused)
{
struct pthread_request request;
pthread_descr self = thread_self();
@@ -757,7 +757,7 @@ static void pthread_handle_sigcancel(int sig)
know what it is specifically done for. In the current implementation,
the thread manager simply discards it. */
-static void pthread_handle_sigdebug(int sig)
+static void pthread_handle_sigdebug(int sig attribute_unused)
{
/* Nothing */
}