mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[build] remove unneeded-internal-declaration warning (#6040)
By inlining static functions defined in the header file.
This commit is contained in:
@@ -80,7 +80,7 @@ using ot::Spinel::Decoder;
|
||||
namespace ot {
|
||||
namespace Spinel {
|
||||
|
||||
static otError SpinelStatusToOtError(spinel_status_t aError)
|
||||
static inline otError SpinelStatusToOtError(spinel_status_t aError)
|
||||
{
|
||||
otError ret;
|
||||
|
||||
@@ -154,7 +154,7 @@ static otError SpinelStatusToOtError(spinel_status_t aError)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void LogIfFail(const char *aText, otError aError)
|
||||
static inline void LogIfFail(const char *aText, otError aError)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aText);
|
||||
OT_UNUSED_VARIABLE(aError);
|
||||
|
||||
Reference in New Issue
Block a user