X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-context.h;fp=src%2Fafb-context.h;h=5f007f9ce774bb233552a2a59bb41a82503d70c0;hb=0609e7481a2c2ab475ebd3cba60ce88eb53ddd20;hp=5560585805bde1f67f3c35fc89b88cadde4625d7;hpb=58ca325302568bfd7ddbdd5d2d4a31b49d0be85a;p=src%2Fapp-framework-binder.git 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);