diff options
Diffstat (limited to 'sim/arm')
-rw-r--r-- | sim/arm/ChangeLog | 5 | ||||
-rw-r--r-- | sim/arm/wrapper.c | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index a0b00f2..e9346c1 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,5 +1,10 @@ 2016-01-03 Mike Frysinger <vapier@gentoo.org> + * wrapper.c (sim_target_parse_arg_array): Replace for loop with + a call to countargv. + +2016-01-03 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. * configure: Regenerate. diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 3938f3c..274b294 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -772,12 +772,7 @@ sim_target_parse_command_line (int argc, char ** argv) static void sim_target_parse_arg_array (char ** argv) { - int i; - - for (i = 0; argv[i]; i++) - ; - - sim_target_parse_command_line (i, argv); + sim_target_parse_command_line (countargv (argv), argv); } static sim_cia |