summaryrefslogtreecommitdiffstats
path: root/commands/loads.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-01-04 10:21:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-02-01 17:25:32 +0100
commit922bb41a47e390ee3367fc41081d4470cac1202d (patch)
treea0fb507db0cb768f2d77adf26d6be5c9057d2187 /commands/loads.c
parent88351d2e4bcf25fef3818c951e89180c764389ed (diff)
downloadbarebox-922bb41a47e390ee3367fc41081d4470cac1202d.tar.gz
remove typedef cmd_tbl_t and replace it with struct command
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/loads.c')
-rw-r--r--commands/loads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/loads.c b/commands/loads.c
index 2578c15..8269af1 100644
--- a/commands/loads.c
+++ b/commands/loads.c
@@ -42,7 +42,7 @@ static int save_serial (ulong offset, ulong size);
static int write_record (char *buf);
# endif /* CFG_CMD_SAVES */
-int do_load_serial (cmd_tbl_t *cmdtp, int argc, char *argv[])
+int do_load_serial(struct command *cmdtp, int argc, char *argv[])
{
ulong offset = 0;
ulong addr;
@@ -233,7 +233,7 @@ read_record (char *buf, ulong len)
#if (CONFIG_COMMANDS & CFG_CMD_SAVES)
-int do_save_serial (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_save_serial(struct command *cmdtp, int flag, int argc, char *argv[])
{
ulong offset = 0;
ulong size = 0;