* @param vm region allocating from
* @param size desired block size
*/
-static void *bestalloc(Vmalloc_t *vm, size_t size) {
+void *bestalloc(Vmalloc_t *vm, size_t size) {
Vmdata_t *vd = vm->data;
void *p;
return p;
}
-static int bestfree(Vmalloc_t *vm, void *data) {
+int bestfree(Vmalloc_t *vm, void *data) {
Vmdata_t *vd = vm->data;
size_t i;
* @param size new size
* @param type ignored
*/
-static void *bestresize(Vmalloc_t *vm, void *data, size_t size, int type) {
+void *bestresize(Vmalloc_t *vm, void *data, size_t size, int type) {
Vmdata_t *vd = vm->data;
size_t i;
extern Vmuchar_t *sbrk(ssize_t);
#endif
+void *bestalloc(Vmalloc_t * vm, size_t size);
+int bestfree(Vmalloc_t * vm, void * data);
+void *bestresize(Vmalloc_t * vm, void * data, size_t size, int type);
+
#endif /* _VMHDR_H */
#ifdef __cplusplus
}