[klibc] ISO C99 inline, again

H. Peter Anvin hpa at zytor.com
Tue Oct 5 12:06:40 PDT 2010


On 10/05/2010 11:48 AM, H. Peter Anvin wrote:
> On 10/04/2010 01:30 PM, Thorsten Glaser wrote:
>> H. Peter Anvin dixit:
>>
>>> klibc is written in the same style as the Linux kernel, which is
>>> currently GNU style for inlining; I am not going to support more than
>>> one style for reasons of maintainability.
>>
>> Argh. Oh well.
>>
>> Then please fix the issue otherwise and give the inline functions
>> in <stdio.h> the GNU attribute.
>>
> 
> I don't see "the issue" you're referring to.  If you're compiling with
> -std=c99 it just won't work.
> 

Nevermind.  I came up with a couple of macros which weren't too
bleacherous, so I just put them in.  It's not like we don't already have
some compatibility macros which don't match the ones in the Linux kernel
(unfortunately.)

	-hpa



More information about the klibc mailing list