]> granicus.if.org Git - php/commitdiff
- Fixed warnings
authorDerick Rethans <derick@php.net>
Mon, 4 May 2009 19:55:33 +0000 (19:55 +0000)
committerDerick Rethans <derick@php.net>
Mon, 4 May 2009 19:55:33 +0000 (19:55 +0000)
main/main.c

index 9f23a06fca8453f61915525f387791a5b5383b6d..a5736e9314b0661f2614dd267f154452c76e6a4f 100644 (file)
@@ -59,6 +59,7 @@
 #include "fopen_wrappers.h"
 #include "ext/standard/php_standard.h"
 #include "ext/standard/php_string.h"
+#include "ext/date/php_date.h"
 #include "php_variables.h"
 #include "ext/standard/credits.h"
 #ifdef PHP_WIN32
@@ -612,7 +613,6 @@ static int module_shutdown = 0;
 PHPAPI void php_log_err(char *log_message TSRMLS_DC)
 {
        int fd = -1;
-       struct tm tmbuf;
        time_t error_time;
 
        /* Try to use the specified logging location. */