diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2007-05-17 06:38:13 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2007-05-17 06:38:13 +0000 |
commit | 52c2d6c235d945134d86e6c0ad8a3030dbc9f144 (patch) | |
tree | f8cb12dc409e0e900287ab3bf6696d2a8be38422 /ext/standard/syslog.c | |
parent | 85f738261fa17df541cbcb1d9684bd7dbe1ce66d (diff) | |
download | php-git-52c2d6c235d945134d86e6c0ad8a3030dbc9f144.tar.gz |
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
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 15fcc80bfb..34bba462ed 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -114,13 +114,13 @@ PHP_RINIT_FUNCTION(syslog) } +#ifdef PHP_WIN32 PHP_RSHUTDOWN_FUNCTION(syslog) { -#ifdef PHP_WIN32 closelog(); -#endif return SUCCESS; } +#endif PHP_MSHUTDOWN_FUNCTION(syslog) { |