[PATCH] Fix inline functions to use 'static inline'

Steve Markgraf steve at steve-m.de
Thu Jun 28 18:29:34 UTC 2018

Hi David,

On 28.06.2018 17:43, David Woodhouse wrote:
> With just 'inline', if the compiler decides not to inline them, it isn't
> required to emit them at all. For some targets with -Os that is causing
> build failures.

"It isn't required to emit them at all" - What the heck, which compiler
on earth does such horrible things?

I've taken at look at the C99 standard for the function specifier
'inline' and there is nothing that would justify such behaviour.

Of course, if that's a bug with a specific compiler version we can merge
that, but the explanation in the commit doesn't make any sense to me.


More information about the osmocom-sdr mailing list