]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_license.c
Make sure that argv[] argument pointers are not modified.
[u-boot] / common / cmd_license.c
index c6f272ad34aa0429fd4a7d917d3aec0ed0638def..90fd57e25dd2253a0b6344831579a9194c45d51d 100644 (file)
@@ -29,9 +29,8 @@
 #include <command.h>
 #include <malloc.h>
 #include <license.h>
-int gunzip(void *, int, unsigned char *, unsigned long *);
 
-int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        char *tok, *dst = malloc(LICENSE_MAX);
        unsigned long len = LICENSE_MAX;