summaryrefslogtreecommitdiffstats
path: root/src/afb-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-context.h')
-rw-r--r--src/afb-context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-context.h b/src/afb-context.h
index 55605858..5f007f9c 100644
--- a/src/afb-context.h
+++ b/src/afb-context.h
@@ -46,7 +46,7 @@ extern const char *afb_context_sent_token(struct afb_context *context);
extern const char *afb_context_sent_uuid(struct afb_context *context);
extern void *afb_context_get(struct afb_context *context);
-extern void afb_context_set(struct afb_context *context, void *value, void (*free_value)(void*));
+extern int afb_context_set(struct afb_context *context, void *value, void (*free_value)(void*));
extern void *afb_context_data(struct afb_context *context, void *(*make_value)(void), void (*free_value)(void*));
extern void afb_context_close(struct afb_context *context);