mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Remove unused global function memrealloc
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
445befd3cb
commit
aebdcd8bce
@ -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);
|
||||
}
|
||||
|
@ -36,8 +36,6 @@
|
||||
----------------------------------------------------------------------*/
|
||||
int *memalloc(int size);
|
||||
|
||||
int *memrealloc(void *ptr, int size, int oldsize);
|
||||
|
||||
void memfree(void *element);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user