mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
[spinel] fix missing prototype warning (#6245)
This function was defined without any declaration before it, causing build error when compiled with -Werror=missing-prototypes.
This commit is contained in:
@@ -1158,7 +1158,7 @@ struct spinel_cstr
|
||||
(uint32_t) PREFIX##VALUE, #VALUE \
|
||||
}
|
||||
|
||||
const char *spinel_to_cstr(const struct spinel_cstr *table, uint32_t val)
|
||||
static const char *spinel_to_cstr(const struct spinel_cstr *table, uint32_t val)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user