diff options
Diffstat (limited to 'include/command.h')
-rw-r--r-- | include/command.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/command.h b/include/command.h index 3aca1a9f1b..2e7278099b 100644 --- a/include/command.h +++ b/include/command.h @@ -25,10 +25,7 @@ #include <linux/list.h> #include <linux/stringify.h> - -#ifndef NULL -#define NULL 0 -#endif +#include <linux/stddef.h> #ifndef __ASSEMBLY__ @@ -71,6 +68,7 @@ extern struct command __barebox_cmd_end; struct command *find_cmd(const char *cmd); int execute_command(int argc, char **argv); void barebox_cmd_usage(struct command *cmdtp); +int run_command(const char *cmd); #define COMMAND_SUCCESS 0 #define COMMAND_ERROR 1 |