implicit declaration of function 'memalloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration] code example
Example: incompatible implicit declaration of built-in function ‘malloc’
Insert:
#include <stdlib.h>
Insert:
#include <stdlib.h>