diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-01-04 10:21:11 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-02-01 17:25:32 +0100 |
commit | 922bb41a47e390ee3367fc41081d4470cac1202d (patch) | |
tree | a0fb507db0cb768f2d77adf26d6be5c9057d2187 /commands/flash.c | |
parent | 88351d2e4bcf25fef3818c951e89180c764389ed (diff) | |
download | barebox-922bb41a47e390ee3367fc41081d4470cac1202d.tar.gz barebox-922bb41a47e390ee3367fc41081d4470cac1202d.tar.xz |
remove typedef cmd_tbl_t and replace it with struct command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/flash.c')
-rw-r--r-- | commands/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/flash.c b/commands/flash.c index ec793c5312..f92b60404f 100644 --- a/commands/flash.c +++ b/commands/flash.c @@ -37,7 +37,7 @@ #include <fcntl.h> #include <linux/stat.h> -static int do_flerase (cmd_tbl_t *cmdtp, int argc, char *argv[]) +static int do_flerase(struct command *cmdtp, int argc, char *argv[]) { int fd; char *filename = NULL; @@ -107,7 +107,7 @@ BAREBOX_CMD_END * Refer \b addpart, \b delpart and \b devinfo for partition handling. */ -static int do_protect (cmd_tbl_t *cmdtp, int argc, char *argv[]) +static int do_protect(struct command *cmdtp, int argc, char *argv[]) { int fd; char *filename = NULL; |