sandbox: fix the return type of os_free() function

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>
This commit is contained in:
Masahiro Yamada 2014-01-15 13:06:41 +09:00 committed by Tom Rini
parent bf1af3d872
commit 347d06dec4
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ void *os_malloc(size_t length)
return hdr + 1; return hdr + 1;
} }
void *os_free(void *ptr) void os_free(void *ptr)
{ {
struct os_mem_hdr *hdr = ptr; struct os_mem_hdr *hdr = ptr;

View File

@ -113,7 +113,7 @@ void *os_malloc(size_t length);
* *
* \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