commit | ee95728904a5422bf4ccd0b15095b5dcd070678f | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Wed Jan 15 13:06:41 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Fri Jan 24 16:59:08 2014 -0500 |
tree | 11ebfdaf3d4af2f2abb6f31831060afdb11d246e | |
parent | b8a262552a0bd8df2092552b6b8a25e55f683397 [diff] [blame] |
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>
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index 725b505..2e2fc58 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c
@@ -143,7 +143,7 @@ return hdr + 1; } -void *os_free(void *ptr) +void os_free(void *ptr) { struct os_mem_hdr *hdr = ptr;