summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"},