summaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-09-24 12:31:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-09-24 12:31:08 +0200
commit3cbc5c5c12f8419f563efa33153fc87d7158efbd (patch)
tree5e6f674b85f6e73cba5be7a645c7df38482dad55 /include/command.h
parentb0615cc9096be1d2ed2813af3a0d850e1009b9d4 (diff)
downloadbarebox-3cbc5c5c12f8419f563efa33153fc87d7158efbd.tar.gz
barebox-3cbc5c5c12f8419f563efa33153fc87d7158efbd.tar.xz
remove u-boot command paramter flag
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/command.h b/include/command.h
index e9deb7944e..7a3cb398b3 100644
--- a/include/command.h
+++ b/include/command.h
@@ -41,7 +41,7 @@ struct cmd_tbl_s {
char **aliases;
int maxargs; /* maximum number of arguments */
/* Implementation function */
- int (*cmd)(struct cmd_tbl_s *, int, int, char *[]);
+ int (*cmd)(struct cmd_tbl_s *, int, char *[]);
char *usage; /* Usage message (short) */
#ifdef CONFIG_LONGHELP
char *help; /* Help message (long) */
@@ -78,20 +78,14 @@ extern int cmd_auto_complete(const char *const prompt, char *buf, int *np, int *
*
* All commands use a common argument format:
*
- * void function (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
+ * void function (cmd_tbl_t *cmdtp, int argc, char *argv[]);
*/
-typedef void command_t (cmd_tbl_t *, int, int, char *[]);
+typedef void command_t (cmd_tbl_t *, int, char *[]);
#endif /* __ASSEMBLY__ */
/*
- * Command Flags:
- */
-#define CMD_FLAG_REPEAT 0x0001 /* repeat last command */
-#define CMD_FLAG_BOOTD 0x0002 /* command is from bootd */
-
-/*
* Configurable monitor commands definitions have been moved
* to include/cmd_confdefs.h
*/