projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c221eaa
)
alloc: fix return of void.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:19 +0000
(14:15 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:19 +0000
(14:15 +1030)
Sun CC complains.
ccan/alloc/alloc.c
patch
|
blob
|
history
diff --git
a/ccan/alloc/alloc.c
b/ccan/alloc/alloc.c
index e6f21f887e1a756c29667615db064db246259e80..47a597091d5a1df8f056a234298a48d143522c4c 100644
(file)
--- a/
ccan/alloc/alloc.c
+++ b/
ccan/alloc/alloc.c
@@
-773,7
+773,8
@@
void alloc_free(void *pool, unsigned long poolsize, void *free)
struct page_header *ph;
if (poolsize < MIN_USEFUL_SIZE) {
- return tiny_alloc_free(pool, poolsize, free);
+ tiny_alloc_free(pool, poolsize, free);
+ return;
}
/* Get page header. */