From 922bb41a47e390ee3367fc41081d4470cac1202d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 4 Jan 2010 10:21:11 +0100 Subject: remove typedef cmd_tbl_t and replace it with struct command Signed-off-by: Sascha Hauer --- commands/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/flash.c') 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 #include -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; -- cgit v1.2.3