From a718d940b6c07f31ab140537246844caabd66cf9 Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Fri, 5 Mar 2021 10:53:03 +0800 Subject: Add const in afb_verb_t type declaring Bug-AGL: SPEC-3831 Change-Id: Ic40d52e6dec2872b2d032364d5b6375a39c61673 Signed-off-by: Qiu Tingting --- src/xds-binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xds-binding.c b/src/xds-binding.c index f93a121..d4bf404 100644 --- a/src/xds-binding.c +++ b/src/xds-binding.c @@ -58,7 +58,7 @@ void ctrlapi_auth(afb_req_t request) afb_req_success(request, NULL, NULL); } -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 = "auth", .callback = ctrlapi_auth, .info = "Authenticate session to raise Level Of Assurance of the session" }, -- cgit 1.2.3-korg