The function os_free() returns nothing.
Its return type should be "void" rather than "void *".
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
-void *os_free(void *ptr)
{
struct os_mem_hdr *hdr = ptr;
{
struct os_mem_hdr *hdr = ptr;
*
* \param ptr Pointer to memory block to free
*/
*
* \param ptr Pointer to memory block to free
*/
-void *os_free(void *ptr);
+void os_free(void *ptr);
/**
* Reallocate previously-allocated memory to increase/decrease space
/**
* Reallocate previously-allocated memory to increase/decrease space