From b86dfd76a26f00610e19071fabb4c9001791074c Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 17 Aug 2024 13:58:40 +0200 Subject: [PATCH] Remove php_win32_init_gettimeofday declaration (#15451) * Remove php_win32_init_gettimeofday declaration Follow-up of GH-15400 (25afbdb09e18d4477df1822fbfe76480e6c2aa79). * Remove unused header include * Include php.h before win32/ioutil.h --- win32/dllmain.c | 3 +-- win32/time.h | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/win32/dllmain.c b/win32/dllmain.c index ab625bf3e59..38d143acfed 100644 --- a/win32/dllmain.c +++ b/win32/dllmain.c @@ -16,9 +16,8 @@ #include -#include -#include #include +#include #ifdef HAVE_LIBXML #include diff --git a/win32/time.h b/win32/time.h index 51090ccfd8a..77d1cbfd311 100644 --- a/win32/time.h +++ b/win32/time.h @@ -54,10 +54,4 @@ PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp ); PHPAPI int usleep(unsigned int useconds); -#ifdef PHP_EXPORTS -/* This symbols are needed only for the DllMain, but should not be exported - or be available when used with PHP binaries. */ -void php_win32_init_gettimeofday(void); -#endif - #endif