Commit d77d7e32 authored by Rusty Russell's avatar Rusty Russell

alloc: fix return of void.

Sun CC complains.
parent c221eaae
...@@ -773,7 +773,8 @@ void alloc_free(void *pool, unsigned long poolsize, void *free) ...@@ -773,7 +773,8 @@ void alloc_free(void *pool, unsigned long poolsize, void *free)
struct page_header *ph; struct page_header *ph;
if (poolsize < MIN_USEFUL_SIZE) { if (poolsize < MIN_USEFUL_SIZE) {
return tiny_alloc_free(pool, poolsize, free); tiny_alloc_free(pool, poolsize, free);
return;
} }
/* Get page header. */ /* Get page header. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment