The command name is a constant, use the correct type.
MFC after: 1 week
This commit is contained in:
parent
a7ac719d30
commit
85462455a5
@ -93,9 +93,9 @@ static int fdt_cmd_mres(int argc, char *argv[]);
|
||||
typedef int cmdf_t(int, char *[]);
|
||||
|
||||
struct cmdtab {
|
||||
char *name;
|
||||
cmdf_t *handler;
|
||||
int flags;
|
||||
const char *name;
|
||||
cmdf_t *handler;
|
||||
int flags;
|
||||
};
|
||||
|
||||
static const struct cmdtab commands[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user