~aleteoryx/muditaos

9fba3f1ecfaf013697dc652463a937d462793580 — Lucjan Bryndza 4 years ago e9177f2
[EGD-7727] Fix userrealloc to ANSI standard capable

Fix userrealloc() function to the ANSI to comply
ANSI C standard

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
1 files changed, 2 insertions(+), 3 deletions(-)

M module-os/memory/usermem.c
M module-os/memory/usermem.c => module-os/memory/usermem.c +2 -3
@@ 387,9 387,8 @@ void *userrealloc(void *pv, size_t xWantedSize) {
        }
        return NULL;
    }
    else
    {
    	mtCOVERAGE_TEST_MARKER();
    else {
        return usermalloc(xWantedSize);
    }
    return NULL;
}