Andi Kleen wrote:
> I don't think the functionality of having single copies in case
> an out of line version was needed was ever required by the Linux kernel.
But shouldn't the compiler that compiles Linux be C99 compliant?
> extern inline was used in the kernel a long time ago as a "poor man's
Jakub Jelinek wrote:
> On Mon, Sep 05, 2005 at 08:00:05PM +0200, Adrian Bunk wrote:
>
>>It isn't the same, but "static inline" is the correct variant.
>>
>>"extern inline __attribute__((always_inline))" (which is what
>>"extern inline" is expanded to) doesn't make sense.
>
>
> It does make
Jakub Jelinek wrote:
On Mon, Sep 05, 2005 at 08:00:05PM +0200, Adrian Bunk wrote:
It isn't the same, but static inline is the correct variant.
extern inline __attribute__((always_inline)) (which is what
extern inline is expanded to) doesn't make sense.
It does make sense and is different
Andi Kleen wrote:
I don't think the functionality of having single copies in case
an out of line version was needed was ever required by the Linux kernel.
But shouldn't the compiler that compiles Linux be C99 compliant?
extern inline was used in the kernel a long time ago as a poor man's
4 matches
Mail list logo