summaryrefslogtreecommitdiffstats
path: root/commands/net.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/net.c
parent88351d2e4bcf25fef3818c951e89180c764389ed (diff)
downloadbarebox-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/net.c')
-rw-r--r--commands/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/net.c b/commands/net.c
index 5fa49cf102..815a566a2b 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -76,7 +76,7 @@ void netboot_update_env(void)
#ifdef CONFIG_NET_RARP
extern void RarpRequest(void);
-static int do_rarpb (cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_rarpb(struct command *cmdtp, int argc, char *argv[])
{
int size;
@@ -102,7 +102,7 @@ BAREBOX_CMD_START(rarpboot)
BAREBOX_CMD_END
#endif /* CONFIG_NET_RARP */
-static int do_ethact (cmd_tbl_t *cmdtp, int argc, char *argv[])
+static int do_ethact(struct command *cmdtp, int argc, char *argv[])
{
struct eth_device *edev;