summaryrefslogtreecommitdiff
path: root/src/stage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stage.c')
-rw-r--r--src/stage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stage.c b/src/stage.c
index d05c842..afe4626 100644
--- a/src/stage.c
+++ b/src/stage.c
@@ -113,11 +113,11 @@ void stage_set_object(stage_t *stage, void *object)
}
-void stage_get_object(const stage_t *stage, void **res_object)
+void * stage_get_object(const stage_t *stage)
{
assert(stage);
- *res_object = stage->object;
+ return stage->object;
}
© All Rights Reserved