[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r1911 - in /fsf/trunk/libc/nptl: ChangeLog tst-locale1.c tst-locale2.c



Author: eglibc
Date: Sat Apr  7 00:01:36 2007
New Revision: 1911

Log:
Import glibc-mainline for 2007-04-07

Modified:
    fsf/trunk/libc/nptl/ChangeLog
    fsf/trunk/libc/nptl/tst-locale1.c
    fsf/trunk/libc/nptl/tst-locale2.c

Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Sat Apr  7 00:01:36 2007
@@ -1,3 +1,8 @@
+2007-04-06  Ulrich Drepper  <drepper@xxxxxxxxxx>
+
+	* tst-locale1.c: Avoid warnings.
+	* tst-locale2.c: Likewise.
+
 2007-03-19  Steven Munroe  <sjmunroe@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h

Modified: fsf/trunk/libc/nptl/tst-locale1.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-locale1.c (original)
+++ fsf/trunk/libc/nptl/tst-locale1.c Sat Apr  7 00:01:36 2007
@@ -10,7 +10,8 @@
 int
 useless (void)
 {
-  pthread_create (0, 0, 0, 0);
+  pthread_t th;
+  pthread_create (&th, 0, (void *(*) (void *)) useless, 0);
   /* This is to check __libc_current_sigrt* can be used in statically
      linked apps.  */
   return SIGRTMIN;

Modified: fsf/trunk/libc/nptl/tst-locale2.c
==============================================================================
--- fsf/trunk/libc/nptl/tst-locale2.c (original)
+++ fsf/trunk/libc/nptl/tst-locale2.c Sat Apr  7 00:01:36 2007
@@ -6,8 +6,9 @@
 #include <pthread.h>
 
 /* This is never called, just here to get pthreads linked in.  */
-void
-useless (void)
+void *
+useless (void *a)
 {
-  pthread_create (0, 0, 0, 0);
+  pthread_t th;
+  pthread_create (&th, 0, useless, a);
 }