diff options
author | Qiu Tingting <qiutt@fujitsu.com> | 2021-03-05 10:50:35 +0800 |
---|---|---|
committer | Qiu Tingting <qiutt@fujitsu.com> | 2021-03-05 10:50:35 +0800 |
commit | 00bf0bd2508dd7f7dc4c59d76b8971fca2f41157 (patch) | |
tree | 65823384f7adafb051fef0eb0386e4cbdc824982 /src | |
parent | fc787c7e4af11c16c9b529ff342ff27f0ac36b96 (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: Idc07bb8e2cfde35b67470a0e7bbb1bf87c017ef7
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/aft.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"}, |