diff options
author | Sascha Schumann <sas@php.net> | 1999-09-24 19:35:25 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-09-24 19:35:25 +0000 |
commit | 7a1fff14410643c5a5de41224b65589e5acfdbeb (patch) | |
tree | dfa0d86179b8d8166b4ba097205d1f52b3f8639f /ext/standard/microtime.c | |
parent | d8895c02f79fd0b1f58352b4d8930442a111008e (diff) | |
download | php-git-7a1fff14410643c5a5de41224b65589e5acfdbeb.tar.gz |
Use new Zend API.
Diffstat (limited to 'ext/standard/microtime.c')
-rw-r--r-- | ext/standard/microtime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/microtime.c b/ext/standard/microtime.c index a492ae4018..1eec292e18 100644 --- a/ext/standard/microtime.c +++ b/ext/standard/microtime.c @@ -93,13 +93,13 @@ PHP_FUNCTION(getrusage) #if HAVE_GETRUSAGE struct rusage usg; int ac = ARG_COUNT(ht); - pval *pwho; + pval **pwho; int who = RUSAGE_SELF; if(ac == 1 && - getParameters(ht, ac, &pwho) != FAILURE) { - convert_to_long(pwho); - if(pwho->value.lval == 1) + getParametersEx(ac, &pwho) != FAILURE) { + convert_to_long_ex(pwho); + if((*pwho)->value.lval == 1) who = RUSAGE_CHILDREN; } |