[message] change Message::Free() to return void (#2071)

This commit is contained in:
Buke Po
2017-08-06 22:26:37 -07:00
committed by Jonathan Hui
parent ea95d84aa1
commit 34f9c9a919
7 changed files with 15 additions and 25 deletions
+2 -2
View File
@@ -38,9 +38,9 @@
using namespace ot;
otError otMessageFree(otMessage *aMessage)
void otMessageFree(otMessage *aMessage)
{
return static_cast<Message *>(aMessage)->Free();
static_cast<Message *>(aMessage)->Free();
}
uint16_t otMessageGetLength(otMessage *aMessage)