diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 01:40:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 04:08:56 -0500 |
commit | 34fed69938f1296b62354b2a825b49602fe7af50 (patch) | |
tree | aeece93f7f3f39429d4b92cb7e4e16a6217d8f64 /sim/common/ChangeLog | |
parent | aba6f46b235a3a139c04d5ed6a3310125aa9c982 (diff) | |
download | binutils-gdb-34fed69938f1296b62354b2a825b49602fe7af50.tar.gz |
sim: use libiberty countargv in more places
A bunch of places open code the countargv implementation, or outright
duplicate it (as count_argc). Replace all of those w/countargv.
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r-- | sim/common/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 2e444d133c2..e66c289cac4 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,10 @@ 2016-01-03 Mike Frysinger <vapier@gentoo.org> + * sim-options.c (sim_parse_args): Replace for loop with a call + to countargv. + +2016-01-03 Mike Frysinger <vapier@gentoo.org> + * nrun.c (myname): Mark const. (main): Mark name const. Replace myname parsing loop with a call to lbasename. |