aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-context.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-19 14:39:47 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-09 14:08:29 +0200
commit4776245dfb0ca70058881bc2059dc992581d041b (patch)
tree8ea10effee5153499d4868cfc4ad8a5242bbf7de /src/afb-context.h
parent766876ed2e18e7ab281871b890e4a2003006ad20 (diff)
afb-context: add const qualifier for api_key
Change-Id: I138d70698342cc2350d4f9098bcf5c486d16faba Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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 f1af3622..47e488c4 100644
--- a/src/afb-context.h
+++ b/src/afb-context.h
@@ -22,7 +22,7 @@ struct afb_session;
struct afb_context
{
struct afb_session *session;
- void *api_key;
+ const void *api_key;
struct afb_context *super;
union {
unsigned flags;