svn commit: branches/uClibc-nptl: libc/sysdeps/linux/common/bits test/dlop etc...

carmelo at uclibc.org carmelo at uclibc.org
Fri Jul 11 16:54:07 UTC 2008


Author: carmelo
Date: 2008-07-11 09:54:06 -0700 (Fri, 11 Jul 2008)
New Revision: 22792

Log:
uClibc_mutex.h should not include bits/libc-lock.h. Revert libtest.c accordingly otherwise it cannot compile

Modified:
   branches/uClibc-nptl/libc/sysdeps/linux/common/bits/uClibc_mutex.h
   branches/uClibc-nptl/test/dlopen/libtest.c


Changeset:
Modified: branches/uClibc-nptl/libc/sysdeps/linux/common/bits/uClibc_mutex.h
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/common/bits/uClibc_mutex.h	2008-07-11 16:45:19 UTC (rev 22791)
+++ branches/uClibc-nptl/libc/sysdeps/linux/common/bits/uClibc_mutex.h	2008-07-11 16:54:06 UTC (rev 22792)
@@ -14,7 +14,6 @@
 
 #include <pthread.h>
 #include <bits/uClibc_pthread.h>
-#include <bits/libc-lock.h>
 
 #define __UCLIBC_MUTEX_TYPE				pthread_mutex_t
 

Modified: branches/uClibc-nptl/test/dlopen/libtest.c
===================================================================
--- branches/uClibc-nptl/test/dlopen/libtest.c	2008-07-11 16:45:19 UTC (rev 22791)
+++ branches/uClibc-nptl/test/dlopen/libtest.c	2008-07-11 16:54:06 UTC (rev 22792)
@@ -2,6 +2,8 @@
 #include <pthread.h>
 #include <stdint.h>
 
+extern int __pthread_once(void);
+
 void dltest(uint32_t **value1, uint32_t **value2);
 void dltest(uint32_t **value1, uint32_t **value2)
 {




More information about the uClibc-cvs mailing list