diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2021-03-02 20:46:43 +0800 |
---|---|---|
committer | Qiu Tingting <qiutt@fujitsu.com> | 2021-03-02 20:46:43 +0800 |
commit | 24e0029764d502f95f2446ecaf257f76a7c7d6a1 (patch) | |
tree | 8b57601e0de88a8ef7485e13a8e1cb7af50cc174 /src | |
parent | 673f310ea0138df95a868fc0c21c32b20daed30a (diff) |
Add const in afb_verb_t type declaringneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.013.93.012.93.012.92.012.91.012.90.112.90.011.92.011.91.0
Bug-AGL: SPEC-3831
Change-Id: I0463552ad9625d1360b06d8026bd03235496579c
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/harvester-binding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/harvester-binding.c b/src/harvester-binding.c index 5968fba..fee52ad 100644 --- a/src/harvester-binding.c +++ b/src/harvester-binding.c @@ -51,7 +51,7 @@ static 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" }, |