On 11/04/2014 07:35 PM, Bill Fischofer wrote:
If the ODP prototypes simply all said 'static inline' then would that
permit the implementation to choose later which were actually static inline?

I.e., if the common odp_xxx.h says

static inline void *odp_foo(...);

Then can the implementation can say;

static inline void *odp_foo(...) {  };

to make the function inline and just say

void *odp_foo(...) {  };

to make it an actual call?

Unfortunately GCC throws -Werror=unused-function on this in each place
where this header included, but no function implemented.

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to