This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITED] Silence warning: â__inlineâ is not at beginning of declaration.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Sat, 08 Jun 2013 15:53:12 -0400
- Subject: Re: [COMMITED] Silence warning: â__inlineâ is not at beginning of declaration.
- References: <20130608180147 dot GB21567 at domone> <87d2rwij2d dot fsf at igel dot home>
On 06/08/2013 01:55 PM, Andreas Schwab wrote:
> OndÅej BÃlka <neleai@seznam.cz> writes:
>
>> diff --git a/nptl/sysdeps/pthread/allocalim.h b/nptl/sysdeps/pthread/allocalim.h
>> index 1ccd387..2af2823 100644
>> --- a/nptl/sysdeps/pthread/allocalim.h
>> +++ b/nptl/sysdeps/pthread/allocalim.h
>> @@ -20,8 +20,8 @@
>> #include <limits.h>
>>
>>
>> -extern int
>> __always_inline
>> +extern int
>> __libc_use_alloca (size_t size)
>
> 6.11.5 The placement of a storage-class specifier other than at the
> beginning of the declaration specifiers in a declaration is an
> obsolescent feature.
So what's the real solution to the warnings?
c.