summaryrefslogtreecommitdiff
path: root/ext/yp
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/yp
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/yp')
-rw-r--r--ext/yp/yp.c6
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;