svn commit: branches/uClibc-nptl: include libc/stdlib/malloc-standard libc etc...

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Jul 29 15:50:35 UTC 2008


kraj at uclibc.org wrote:
> Author: kraj
> Date: 2008-07-11 15:22:24 -0700 (Fri, 11 Jul 2008)
> New Revision: 22805
> 
> Log:
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy.
> 
> warning: C99 inline functions are not supported; using GNU89  
> warning: to disable this warning use -fgnu89-inline or the gnu
> 
> Also fix this other warning.
> 
> warning: missing braces around initializer                    
> warning: (near initialization for '_stdio_streams[0].__lock.__
> 
> 
> Modified:
>    branches/uClibc-nptl/include/ctype.h
>    branches/uClibc-nptl/libc/stdlib/malloc-standard/malloc.h
>    branches/uClibc-nptl/libc/sysdeps/linux/common/bits/cmathcalls.h
>    branches/uClibc-nptl/libc/sysdeps/linux/common/bits/uClibc_mutex.h
>    branches/uClibc-nptl/libc/sysdeps/linux/m68k/bits/mathinline.h
>    branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/bits/libc-lock.h
>    branches/uClibc-nptl/libpthread/nptl/sysdeps/pthread/pthread.h
> 
> 
> Changeset:
> Modified: branches/uClibc-nptl/libc/stdlib/malloc-standard/malloc.h
> ===================================================================
> --- branches/uClibc-nptl/libc/stdlib/malloc-standard/malloc.h	2008-07-11 22:20:59 UTC (rev 22804)
> +++ branches/uClibc-nptl/libc/stdlib/malloc-standard/malloc.h	2008-07-11 22:22:24 UTC (rev 22805)
> @@ -23,6 +23,7 @@
>  #include <stdlib.h>
>  #include <sys/mman.h>
>  #include <bits/uClibc_mutex.h>
> +#include <bits/libc-lock.h>
>  
>  libc_hidden_proto(mmap)
>  libc_hidden_proto(sysconf)
> 

Hi Khem, may you explain why this is needed ? for 
_pthread_cleanup_push/pop warning ?

Thanks,
Carmelo



More information about the uClibc-cvs mailing list