X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Ftrace.c;h=4ce47c7627607a9721baed61e9c45fb9b160c13f;hb=a9f793a30dc091290dddae1d8d3798d25e39c710;hp=392b129536176dbbbfb097f7751199d50442591c;hpb=60f38d82c45fef55ac04ee52b234e6dd07e31935;p=oweals%2Fu-boot.git diff --git a/cmd/trace.c b/cmd/trace.c index 392b129536..4ce47c7627 100644 --- a/cmd/trace.c +++ b/cmd/trace.c @@ -10,7 +10,7 @@ #include #include -static int get_args(int argc, char * const argv[], char **buff, +static int get_args(int argc, char *const argv[], char **buff, size_t *buff_ptr, size_t *buff_size) { if (argc < 2) @@ -29,7 +29,7 @@ static int get_args(int argc, char * const argv[], char **buff, return 0; } -static int create_func_list(int argc, char * const argv[]) +static int create_func_list(int argc, char *const argv[]) { size_t buff_size, avail, buff_ptr, needed, used; char *buff; @@ -52,7 +52,7 @@ static int create_func_list(int argc, char * const argv[]) return 0; } -static int create_call_list(int argc, char * const argv[]) +static int create_call_list(int argc, char *const argv[]) { size_t buff_size, avail, buff_ptr, needed, used; char *buff; @@ -76,7 +76,7 @@ static int create_call_list(int argc, char * const argv[]) return 0; } -int do_trace(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_trace(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { const char *cmd = argc < 2 ? NULL : argv[1];