mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
Remove unused includes of php_random.h (#13131)
Before this change php_random.h was listed in 146 different *.dep files for a env CC=clang ./configure --without-sqlite3 --without-pdo-sqlite build, after this change it's only listed in 110 of them, preventing uselessly recompiling those files when working on ext/random, mostly caused by the include in ext/standard/basic_functions.h.
This commit is contained in:
parent
e31bf3ad4d
commit
2b30f18708
@ -22,7 +22,6 @@
|
||||
|
||||
#include "php.h"
|
||||
#if defined(HAVE_LIBXML) && defined(HAVE_DOM)
|
||||
#include "ext/random/php_random.h"
|
||||
#include "php_dom.h"
|
||||
#include "php_dom_arginfo.h"
|
||||
#include "dom_properties.h"
|
||||
|
@ -27,9 +27,6 @@
|
||||
|
||||
#include "url_scanner_ex.h"
|
||||
|
||||
/* for MT_N */
|
||||
#include "ext/random/php_random.h"
|
||||
|
||||
#if defined(_WIN32) && !defined(__clang__)
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
@ -43,7 +43,6 @@
|
||||
#endif
|
||||
|
||||
#include "php_crypt.h"
|
||||
#include "ext/random/php_random.h"
|
||||
|
||||
/* Used to check DES salts to ensure that they contain only valid characters */
|
||||
#define IS_VALID_SALT_CHARACTER(c) (((c) >= '.' && (c) <= '9') || ((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z'))
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "ext/standard/php_array.h"
|
||||
#include "ext/standard/php_assert.h"
|
||||
#include "ext/reflection/php_reflection.h"
|
||||
#include "ext/random/php_random.h"
|
||||
#if HAVE_BCMATH
|
||||
#include "ext/bcmath/php_bcmath.h"
|
||||
#endif
|
||||
|
@ -22,7 +22,6 @@
|
||||
#endif
|
||||
|
||||
#include "php_reentrancy.h"
|
||||
#include "ext/random/php_random.h" /* for PHP_RAND_MAX */
|
||||
|
||||
enum {
|
||||
LOCALTIME_R,
|
||||
|
Loading…
Reference in New Issue
Block a user