From 34fed69938f1296b62354b2a825b49602fe7af50 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Jan 2016 01:40:46 -0500 Subject: 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. --- sim/common/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sim/common/ChangeLog') diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 2e444d133c2..e66c289cac4 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2016-01-03 Mike Frysinger + + * sim-options.c (sim_parse_args): Replace for loop with a call + to countargv. + 2016-01-03 Mike Frysinger * nrun.c (myname): Mark const. -- cgit v1.2.1