mescc: Mes C Library: Prepare for M2-Planet: malloc.

* lib/stdlib/malloc.c: Rewrite C-constructs not supported by M2-Planet.
This commit is contained in:
Jan Nieuwenhuizen 2019-10-20 19:29:09 +02:00
parent 62ddf437b1
commit 58e06f1faa
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ malloc (size_t size)
if (brk (__brk + size) == -1)
return 0;
char *p = __brk;
__brk += size;
__brk = __brk + size;
return p;
}