The command name is a constant, use the correct type.
MFC after: 1 week
This commit is contained in:
parent
bcbf85db1c
commit
2ccd430671
@ -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…
x
Reference in New Issue
Block a user