summaryrefslogtreecommitdiff
path: root/ext/standard/php_ext_syslog.h
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2007-05-17 06:38:13 +0000
committerRasmus Lerdorf <rasmus@php.net>2007-05-17 06:38:13 +0000
commit52c2d6c235d945134d86e6c0ad8a3030dbc9f144 (patch)
treef8cb12dc409e0e900287ab3bf6696d2a8be38422 /ext/standard/php_ext_syslog.h
parent85f738261fa17df541cbcb1d9684bd7dbe1ce66d (diff)
downloadphp-git-52c2d6c235d945134d86e6c0ad8a3030dbc9f144.tar.gz
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
Diffstat (limited to 'ext/standard/php_ext_syslog.h')
-rw-r--r--ext/standard/php_ext_syslog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_ext_syslog.h b/ext/standard/php_ext_syslog.h
index 23505fbce0..437dfeabce 100644
--- a/ext/standard/php_ext_syslog.h
+++ b/ext/standard/php_ext_syslog.h
@@ -27,7 +27,9 @@
PHP_MINIT_FUNCTION(syslog);
PHP_RINIT_FUNCTION(syslog);
+#ifdef PHP_WIN32
PHP_RSHUTDOWN_FUNCTION(syslog);
+#endif
PHP_MSHUTDOWN_FUNCTION(syslog);
PHP_FUNCTION(openlog);