diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-01-15 08:06:41 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-25 01:59:08 +0400 |
commit | 347d06dec43e2e6ca50f975d5472072a977c528f (patch) | |
tree | 11ebfdaf3d4af2f2abb6f31831060afdb11d246e /arch/sandbox | |
parent | bf1af3d872831dd33fff223f007bbcf4e546f5b8 (diff) | |
download | u-boot-347d06dec43e2e6ca50f975d5472072a977c528f.tar.xz |
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/cpu/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index 725b505177..2e2fc58a1b 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c @@ -143,7 +143,7 @@ void *os_malloc(size_t length) return hdr + 1; } -void *os_free(void *ptr) +void os_free(void *ptr) { struct os_mem_hdr *hdr = ptr; |