diff options
Diffstat (limited to 'lib/resource.h')
-rw-r--r-- | lib/resource.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/resource.h b/lib/resource.h index 0e4c44d8..992fa5b2 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -110,10 +110,11 @@ void sl_free(slab *, void *); void buffer_realloc(void **buf, unsigned *size, unsigned need, unsigned item_size); /* Allocator of whole pages; for use in slabs and other high-level allocators. */ -u64 get_page_size(void); +extern long page_size; void *alloc_page(void); void free_page(void *); -extern uint pages_kept; + +void resource_sys_init(void); #ifdef HAVE_LIBDMALLOC /* |