[lib][console] rename some console command types to be prefixed with console_

Some of the structures, notably 'cmd', in the lib console stuff are a
little too generically named and have collided with some other code
so prefix the names a bit more cleanly with console_

The change is largely mechanical, and folks with out of tree code can
easily switch by renaming:
cmd -> console_cmd
cmd_args -> console_cmd_args
cmd_block -> console_cmd_block
console_cmd -> console_cmd_func

Apologies if this breaks you but it should be pretty easy to fix.
This commit is contained in:
Travis Geiselbrecht
2020-07-25 15:59:58 -07:00
parent c629d762a3
commit 4edb93adde
51 changed files with 151 additions and 149 deletions

View File

@@ -498,7 +498,7 @@ static ssize_t hexstr_to_val(const char *str, uint8_t **buf) {
return pos;
}
static int cmd_sysparam(int argc, const cmd_args *argv) {
static int cmd_sysparam(int argc, const console_cmd_args *argv) {
status_t err;
if (argc < 2) {