aboutsummaryrefslogtreecommitdiffstats
path: root/src/aft.c
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2021-03-05 10:50:35 +0800
committerQiu Tingting <qiutt@fujitsu.com>2021-03-05 10:50:35 +0800
commit00bf0bd2508dd7f7dc4c59d76b8971fca2f41157 (patch)
tree65823384f7adafb051fef0eb0386e4cbdc824982 /src/aft.c
parentfc787c7e4af11c16c9b529ff342ff27f0ac36b96 (diff)
Bug-AGL: SPEC-3831 Change-Id: Idc07bb8e2cfde35b67470a0e7bbb1bf87c017ef7 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Diffstat (limited to 'src/aft.c')
-rw-r--r--src/aft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aft.c b/src/aft.c
index 9221d1b..cccf377 100644
--- a/src/aft.c
+++ b/src/aft.c
@@ -163,7 +163,7 @@ static void ctrlapi_sync(afb_req_t request) {
pthread_mutex_unlock(&memo_lock);
}
-static afb_verb_t CtrlApiVerbs[] = {
+static const afb_verb_t CtrlApiVerbs[] = {
/* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */
{.verb = "ping", .callback = ctrlapi_ping, .info = "ping test for API"},
{.verb = "load", .callback = ctrlapi_load, .info = "load a API meant to launch test for a binding"},