mbed-os/components
Kevin Bracey a8fdcdee69 Remote "static" from MBED_FORCEINLINE
Static keyword causes problems when trying to use force-inlined
functions from normal inlined functions. This is not legal:

    static inline void forced() { }

    inline void normal() { forced(); }

You cannot reference internal-linkage things from external-linkage
inline functions.

Removal of the static implies that in C there would need to be a
non-inline definition in case anyone calls it non-inlined, but if the
force attribute is doing its job, that should not happen.

Only significant in-tree user of the MBED_FORCEINLINE macro is
the atomic operations - making this change permits atomic operations
from non-static inline functions.
2019-07-11 11:40:54 +01:00
..
802.15.4_RF Add compilation flags to rf_configuration 2019-07-11 11:39:48 +01:00
TARGET_PSA Remote "static" from MBED_FORCEINLINE 2019-07-11 11:40:54 +01:00
storage/blockdevice Changed to one more info to debug 2019-07-11 11:40:52 +01:00
testing/COMPONENT_FPGA_CI_TEST_SHIELD Fix typos in the FPGA CI Test Shield component 2019-07-11 11:39:48 +01:00
wifi/esp8266-driver Merge pull request #10147 from kjbracey-arm/atomic_bitwise 2019-05-13 14:18:05 +01:00