projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: Remove ARCH= references from documentation
[oweals/u-boot.git]
/
cmd
/
unzip.c
diff --git
a/cmd/unzip.c
b/cmd/unzip.c
index 6c0f97cb4bb5d6fe1d6c456d7f3ea5b538d518a1..9b28328a1d76c72574045a1b3bbefa457995beff 100644
(file)
--- a/
cmd/unzip.c
+++ b/
cmd/unzip.c
@@
-6,8
+6,12
@@
#include <common.h>
#include <command.h>
#include <common.h>
#include <command.h>
+#include <env.h>
+#include <gzip.h>
+#include <part.h>
-static int do_unzip(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_unzip(struct cmd_tbl *cmdtp, int flag, int argc,
+ char *const argv[])
{
unsigned long src, dst;
unsigned long src_len = ~0UL, dst_len = ~0UL;
{
unsigned long src, dst;
unsigned long src_len = ~0UL, dst_len = ~0UL;
@@
-39,8
+43,8
@@
U_BOOT_CMD(
"srcaddr dstaddr [dstsize]"
);
"srcaddr dstaddr [dstsize]"
);
-static int do_gzwrite(
cmd_tbl_t
*cmdtp, int flag,
- int argc, char *
const argv[])
+static int do_gzwrite(
struct cmd_tbl
*cmdtp, int flag,
+ int argc, char *const argv[])
{
struct blk_desc *bdev;
int ret;
{
struct blk_desc *bdev;
int ret;