extern_inline macro [was: Re: svn commit: trunk/uClibc: include libc/sysdeps/linux/common/bits]

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Sep 9 13:11:09 UTC 2008


On Tue, Sep 09, 2008 at 05:06:58AM -0700, carmelo at uclibc.org wrote:
>Author: carmelo
>Date: 2008-09-09 05:06:58 -0700 (Tue, 09 Sep 2008)
>New Revision: 23365
>
>Log:
>Hush compiler for extern inline warnings by using 
>__extern_inline macro, this also makes gcc 4.3 happy.
>(Taken from NPTL branch)

>Modified:
>   trunk/uClibc/include/ctype.h
>   trunk/uClibc/libc/sysdeps/linux/common/bits/cmathcalls.h

Looks like there are some additional spots that would want to use this
one macro?

$ grep -r "extern[[:space:]][[:space:]]*__inline" *
libc/sysdeps/linux/mips/sys/tas.h:#  define _EXTERN_INLINE extern __inline
libc/sysdeps/linux/mips/bits/socket.h:#  define _EXTERN_INLINE extern __inline
libc/sysdeps/linux/common/bits/socket.h:#  define _EXTERN_INLINE extern __inline
libc/sysdeps/linux/common/bits/sigset.h:#  define _EXTERN_INLINE extern __inline
libc/sysdeps/linux/common/bits/mathinline.h:   Surround GCC-specific parts with #ifdef __GNUC__, and use `extern __inline'.
and all of
libc/sysdeps/linux/*/bits/mathinline.h:# define __MATH_INLINE extern __inline



More information about the uClibc mailing list