We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445befd commit aebdcd8Copy full SHA for aebdcd8
cutil/freelist.cpp
@@ -23,10 +23,6 @@ int *memalloc(int size) {
23
return static_cast<int*>(malloc(static_cast<size_t>(size)));
24
}
25
26
-int *memrealloc(void *ptr, int size, int oldsize) {
27
- return static_cast<int*>(realloc(ptr, static_cast<size_t>(size)));
28
-}
29
-
30
void memfree(void *element) {
31
free(element);
32
cutil/freelist.h
@@ -36,8 +36,6 @@
36
----------------------------------------------------------------------*/
37
int *memalloc(int size);
38
39
-int *memrealloc(void *ptr, int size, int oldsize);
40
41
void memfree(void *element);
42
43
#endif
0 commit comments