diff options
| author | Felipe Pena <felipe@php.net> | 2008-02-28 14:16:25 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-02-28 14:16:25 +0000 |
| commit | a1e8d340c3fe0c889146332fe2e2b70a11980685 (patch) | |
| tree | 07b90a28be336f68ccdd644d73739163573e292f /ext/standard/syslog.c | |
| parent | 8e08965be64607704315293c6bea73c434ace5f3 (diff) | |
| download | php-git-a1e8d340c3fe0c889146332fe2e2b70a11980685.tar.gz | |
New macro for check void parameters
Diffstat (limited to 'ext/standard/syslog.c')
| -rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 090fb4db7e..fd05b509fd 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -205,7 +205,7 @@ static void start_syslog(TSRMLS_D) Initializes all syslog-related variables */ PHP_FUNCTION(define_syslog_variables) { - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { + if (zend_parse_parameters_none() == FAILURE) { return; } @@ -245,7 +245,7 @@ PHP_FUNCTION(openlog) Close connection to system logger */ PHP_FUNCTION(closelog) { - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { + if (zend_parse_parameters_none() == FAILURE) { return; } |
