svn commit: trunk/uClibc/libpthread/linuxthreads.old

vapier at uclibc.org vapier at uclibc.org
Thu Dec 29 08:15:27 UTC 2005


Author: vapier
Date: 2005-12-29 00:15:24 -0800 (Thu, 29 Dec 2005)
New Revision: 13010

Log:
kill off some signedness/unused warnings

Modified:
   trunk/uClibc/libpthread/linuxthreads.old/pthread.c


Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads.old/pthread.c
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/pthread.c	2005-12-29 08:13:32 UTC (rev 13009)
+++ trunk/uClibc/libpthread/linuxthreads.old/pthread.c	2005-12-29 08:15:24 UTC (rev 13010)
@@ -303,7 +303,7 @@
   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 @@
 
 /* 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 @@
    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 */
 }




More information about the uClibc-cvs mailing list