Remove unused global function memrealloc

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-04-22 16:25:59 +02:00
parent 445befd3cb
commit aebdcd8bce
2 changed files with 0 additions and 6 deletions

View File

@ -23,10 +23,6 @@ int *memalloc(int size) {
return static_cast<int*>(malloc(static_cast<size_t>(size)));
}
int *memrealloc(void *ptr, int size, int oldsize) {
return static_cast<int*>(realloc(ptr, static_cast<size_t>(size)));
}
void memfree(void *element) {
free(element);
}

View File

@ -36,8 +36,6 @@
----------------------------------------------------------------------*/
int *memalloc(int size);
int *memrealloc(void *ptr, int size, int oldsize);
void memfree(void *element);
#endif