]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_help.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_help.c
index e860dfb57c9224a92e0fdc8e54c522610dafd1ce..8c8178e41daea37c33f8b6e47116ddd052c6576f 100644 (file)
@@ -24,7 +24,7 @@
 #include <common.h>
 #include <command.h>
 
-int do_help(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_help(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        return _do_help(&__u_boot_cmd_start,
                        &__u_boot_cmd_end - &__u_boot_cmd_start,