summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-03-10 22:15:36 +0000
committerFelipe Pena <felipe@php.net>2008-03-10 22:15:36 +0000
commit84a8bb038a26e254d6608662b16c254920388913 (patch)
treeb57b590da90a01ff306fbef1a6baa794ebe0571e /ext/posix
parentcc2b17d51dbaa862eea98eb3b49a83a7227fb36d (diff)
downloadphp-git-84a8bb038a26e254d6608662b16c254920388913.tar.gz
MFH: New way for check void parameters
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 23217caa7d..2e93e2e35c 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -209,7 +209,7 @@ zend_module_entry posix_module_entry = {
ZEND_GET_MODULE(posix)
#endif
-#define PHP_POSIX_NO_ARGS if (ZEND_NUM_ARGS()) WRONG_PARAM_COUNT;
+#define PHP_POSIX_NO_ARGS if (zend_parse_parameters_none() == FAILURE) return;
#define PHP_POSIX_RETURN_LONG_FUNC(func_name) \
PHP_POSIX_NO_ARGS \