From 9634760d5eae4e8618e4b9ed9752d7305b3695a9 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 27 Aug 2002 21:10:30 +0000 Subject: 17582: Improved option argument handling. unposted: Updated version to 4.1.0-dev-6 because of interface change. --- Src/Modules/zprof.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Modules/zprof.c') diff --git a/Src/Modules/zprof.c b/Src/Modules/zprof.c index 9c7acb334..3121efacf 100644 --- a/Src/Modules/zprof.c +++ b/Src/Modules/zprof.c @@ -136,9 +136,9 @@ cmpparcs(Parc *a, Parc *b) } static int -bin_zprof(char *nam, char **args, char *ops, int func) +bin_zprof(char *nam, char **args, Options ops, int func) { - if (ops['c']) { + if (OPT_ISSET(ops,'c')) { freepfuncs(calls); calls = NULL; ncalls = 0; -- cgit 1.4.1