shell: fix MISRA 5.7 violations on struct shell
MISRA Rule 5.7 requires uniqueness of tag identifiers. Shell is frequently problematic because many code uses `const struct shell *shell`. This causes CI noise every time one of these shell files is edited, so let's update all of them with `const struct shell *sh` instead. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
c7c8ea6a45
commit
667eeb11fb
60 changed files with 1708 additions and 1708 deletions
|
@ -36,9 +36,9 @@
|
|||
|
||||
bool bt_mesh_shell_mdl_first_get(uint16_t id, struct bt_mesh_model **mod);
|
||||
|
||||
int bt_mesh_shell_mdl_instance_set(const struct shell *shell, struct bt_mesh_model **mod,
|
||||
int bt_mesh_shell_mdl_instance_set(const struct shell *sh, struct bt_mesh_model **mod,
|
||||
uint16_t mod_id, uint8_t elem_idx);
|
||||
|
||||
int bt_mesh_shell_mdl_print_all(const struct shell *shell, uint16_t mod_id);
|
||||
int bt_mesh_shell_mdl_print_all(const struct shell *sh, uint16_t mod_id);
|
||||
|
||||
int bt_mesh_shell_mdl_cmds_help(const struct shell *shell, size_t argc, char **argv);
|
||||
int bt_mesh_shell_mdl_cmds_help(const struct shell *sh, size_t argc, char **argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue