Skip to content

Commit b86dfd7

Browse files
authored
Remove php_win32_init_gettimeofday declaration (php#15451)
* Remove php_win32_init_gettimeofday declaration Follow-up of phpGH-15400 (25afbdb). * Remove unused header include * Include php.h before win32/ioutil.h
1 parent 8db3d36 commit b86dfd7

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

win32/dllmain.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616

1717
#include <config.w32.h>
1818

19-
#include <win32/time.h>
20-
#include <win32/ioutil.h>
2119
#include <php.h>
20+
#include <win32/ioutil.h>
2221

2322
#ifdef HAVE_LIBXML
2423
#include <libxml/threads.h>

win32/time.h

-6
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,4 @@ PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp );
5454

5555
PHPAPI int usleep(unsigned int useconds);
5656

57-
#ifdef PHP_EXPORTS
58-
/* This symbols are needed only for the DllMain, but should not be exported
59-
or be available when used with PHP binaries. */
60-
void php_win32_init_gettimeofday(void);
61-
#endif
62-
6357
#endif

0 commit comments

Comments
 (0)