aboutsummaryrefslogtreecommitdiffstats
path: root/allocate.h
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-07-22 21:07:32 -0700
committerJosh Triplett <josh@freedesktop.org>2007-07-22 21:07:32 -0700
commitcaa20ff4d9a93b16efedfcc51e6002956c974ed1 (patch)
treed97b71f37523a348aea0f26945a9d874a818607b /allocate.h
parent10ef6a2b52838dc3d27c6910b03f07d057343df0 (diff)
downloadsparse-caa20ff4d9a93b16efedfcc51e6002956c974ed1.tar.gz
sparse-caa20ff4d9a93b16efedfcc51e6002956c974ed1.tar.xz
sparse-caa20ff4d9a93b16efedfcc51e6002956c974ed1.zip
allocate.h: Stop needlessly returning a void value in __DO_ALLOCATOR
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'allocate.h')
-rw-r--r--allocate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocate.h b/allocate.h
index 134e056..9f1dc8c 100644
--- a/allocate.h
+++ b/allocate.h
@@ -42,7 +42,7 @@ extern void show_allocations(struct allocator_struct *);
} \
void __free_##x(type *entry) \
{ \
- return free_one_entry(&x##_allocator, entry); \
+ free_one_entry(&x##_allocator, entry); \
} \
void show_##x##_alloc(void) \
{ \