From 68b4b57e17015a5bec318fd62b330028172ac6a9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 29 Dec 2005 08:15:24 +0000 Subject: kill off some signedness/unused warnings --- libpthread/linuxthreads.old/pthread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread') 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 */ } -- cgit v1.2.3