On Sat, Apr 16, 2011 at 09:27:41PM +0100, Iain Hibbert wrote: > returning to GNUC vs C99 semantics for inline functions, this is now > partly handled with a __c99inline keyword but there are several files in > the kernel containing functions marked inline that yet require external > linkage as they are also called from other source modules.. this is > provided by the opposite of __c99inline in both the GNUC and C99 cases, as > per the patch below which adds an __extinline keyword for this usage
Please don't add anything like this, but fix the corresponding users. It is not even sure if such use is correct under C99 use. If the only concern is that GCC may decide to not inline a specific instance, static inline works well enough to allow -O0 etc to build. Joerg
