aboutsummaryrefslogtreecommitdiffhomepage
path: root/halloc_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'halloc_util.c')
-rw-r--r--halloc_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/halloc_util.c b/halloc_util.c
index a79c4f83..3ae91bb4 100644
--- a/halloc_util.c
+++ b/halloc_util.c
@@ -51,6 +51,9 @@ string_buffer_t *sb_halloc( void *context )
return res;
}
+/**
+ A function that takes a single parameter, which is a function pointer, and calls it.
+*/
static void halloc_passthrough( void *f )
{
void (*func)() = (void (*)() )f;