diff options
| author | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
| commit | 1159c84ab7849099d4a717cd05c2d920102040ed (patch) | |
| tree | ed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/yp | |
| parent | fcc035108f7b8d2e169c5a592227b3df84d0573e (diff) | |
| download | php-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz | |
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/yp')
| -rw-r--r-- | ext/yp/yp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c index 4a5343f0ba..db26404acc 100644 --- a/ext/yp/yp.c +++ b/ext/yp/yp.c @@ -309,7 +309,8 @@ static int php_foreach_cat (int instatus, char *inkey, int inkeylen, char *inval /* {{{ proto array yp_cat(string domain, string map) Return an array containing the entire map */ -PHP_FUNCTION(yp_cat) { +PHP_FUNCTION(yp_cat) +{ pval **domain, **map; struct ypall_callback callback; @@ -343,7 +344,8 @@ PHP_FUNCTION(yp_errno) /* {{{ proto string yp_err_string(int errorcode) Returns the corresponding error string for the given error code */ -PHP_FUNCTION(yp_err_string) { +PHP_FUNCTION(yp_err_string) +{ pval **error; char *string; |
