summaryrefslogtreecommitdiff
path: root/win32/wsyslog.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-09-26 12:13:36 +0200
committerAnatol Belski <ab@php.net>2014-09-26 13:30:08 +0200
commitd6096f6036173ebfe1db33489b0d4d7a43f181aa (patch)
treef29eb47f6bdfe16459c9eb83d8b7a3fd96f000b2 /win32/wsyslog.c
parent7ceff7780e0cbe0b445a77f23596c6c3dc743605 (diff)
downloadphp-git-d6096f6036173ebfe1db33489b0d4d7a43f181aa.tar.gz
cleanup TSRMLS_FETCH in win32
Diffstat (limited to 'win32/wsyslog.c')
-rw-r--r--win32/wsyslog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/win32/wsyslog.c b/win32/wsyslog.c
index 75c5ef58e5..89f98e5224 100644
--- a/win32/wsyslog.c
+++ b/win32/wsyslog.c
@@ -61,7 +61,6 @@
void closelog(void)
{
- TSRMLS_FETCH();
if (PW32G(log_source)) {
DeregisterEventSource(PW32G(log_source));
PW32G(log_source) = NULL;
@@ -85,7 +84,6 @@ void syslog(int priority, const char *message, ...)
unsigned short etype;
char *tmp = NULL;
DWORD evid;
- TSRMLS_FETCH();
/* default event source */
if (!PW32G(log_source))
@@ -123,8 +121,6 @@ void syslog(int priority, const char *message, ...)
void openlog(const char *ident, int logopt, int facility)
{
- TSRMLS_FETCH();
-
if (PW32G(log_source)) {
closelog();
}