From c3e3c98ec666812daaaca896cf5ef758a8a6df14 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 25 Aug 2014 19:24:55 +0200 Subject: master renames phase 1 --- ext/standard/pageinfo.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ext/standard/pageinfo.c') diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c index 7381100fab..d2b3cd1ce4 100644 --- a/ext/standard/pageinfo.c +++ b/ext/standard/pageinfo.c @@ -79,14 +79,14 @@ PHPAPI void php_statpage(TSRMLS_D) /* {{{ php_getuid */ -php_int_t php_getuid(TSRMLS_D) +zend_long php_getuid(TSRMLS_D) { php_statpage(TSRMLS_C); return (BG(page_uid)); } /* }}} */ -php_int_t php_getgid(TSRMLS_D) +zend_long php_getgid(TSRMLS_D) { php_statpage(TSRMLS_C); return (BG(page_gid)); @@ -96,7 +96,7 @@ php_int_t php_getgid(TSRMLS_D) Get PHP script owner's UID */ PHP_FUNCTION(getmyuid) { - php_int_t uid; + zend_long uid; if (zend_parse_parameters_none() == FAILURE) { return; @@ -106,7 +106,7 @@ PHP_FUNCTION(getmyuid) if (uid < 0) { RETURN_FALSE; } else { - RETURN_INT(uid); + RETURN_LONG(uid); } } /* }}} */ @@ -115,7 +115,7 @@ PHP_FUNCTION(getmyuid) Get PHP script owner's GID */ PHP_FUNCTION(getmygid) { - php_int_t gid; + zend_long gid; if (zend_parse_parameters_none() == FAILURE) { return; @@ -125,7 +125,7 @@ PHP_FUNCTION(getmygid) if (gid < 0) { RETURN_FALSE; } else { - RETURN_INT(gid); + RETURN_LONG(gid); } } /* }}} */ @@ -134,7 +134,7 @@ PHP_FUNCTION(getmygid) Get current process ID */ PHP_FUNCTION(getmypid) { - php_int_t pid; + zend_long pid; if (zend_parse_parameters_none() == FAILURE) { return; @@ -144,7 +144,7 @@ PHP_FUNCTION(getmypid) if (pid < 0) { RETURN_FALSE; } else { - RETURN_INT(pid); + RETURN_LONG(pid); } } /* }}} */ @@ -161,7 +161,7 @@ PHP_FUNCTION(getmyinode) if (BG(page_inode) < 0) { RETURN_FALSE; } else { - RETURN_INT(BG(page_inode)); + RETURN_LONG(BG(page_inode)); } } /* }}} */ @@ -176,7 +176,7 @@ PHPAPI time_t php_getlastmod(TSRMLS_D) Get time of last page modification */ PHP_FUNCTION(getlastmod) { - php_int_t lm; + zend_long lm; if (zend_parse_parameters_none() == FAILURE) { return; @@ -186,7 +186,7 @@ PHP_FUNCTION(getlastmod) if (lm < 0) { RETURN_FALSE; } else { - RETURN_INT(lm); + RETURN_LONG(lm); } } /* }}} */ -- cgit v1.2.1