[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user