Skip to content

Commit 3813ad1

Browse files
committed
Remove unused ext/standard/basic_functions.h header inclusions
Those were probably included back in the day for the php_uint32 typedef
1 parent 3e05c86 commit 3813ad1

File tree

10 files changed

+1
-15
lines changed

10 files changed

+1
-15
lines changed

ext/hash/php_hash_adler32.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef PHP_HASH_ADLER32_H
1818
#define PHP_HASH_ADLER32_H
1919

20-
#include "ext/standard/basic_functions.h"
21-
2220
typedef struct {
2321
uint32_t state;
2422
} PHP_ADLER32_CTX;

ext/hash/php_hash_gost.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef PHP_HASH_GOST_H
1818
#define PHP_HASH_GOST_H
1919

20-
#include "ext/standard/basic_functions.h"
21-
2220
/* GOST context */
2321
typedef struct {
2422
uint32_t state[16];

ext/hash/php_hash_haval.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef PHP_HASH_HAVAL_H
1818
#define PHP_HASH_HAVAL_H
1919

20-
#include "ext/standard/basic_functions.h"
2120
/* HAVAL context. */
2221
typedef struct {
2322
uint32_t state[8];

ext/hash/php_hash_ripemd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
#ifndef PHP_HASH_RIPEMD_H
1818
#define PHP_HASH_RIPEMD_H
19-
#include "ext/standard/basic_functions.h"
2019

2120
/* RIPEMD context. */
2221
typedef struct {

ext/hash/php_hash_sha.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#define PHP_HASH_SHA_H
2020

2121
#include "ext/standard/sha1.h"
22-
#include "ext/standard/basic_functions.h"
2322

2423
/* SHA224 context. */
2524
typedef struct {

ext/hash/php_hash_sha3.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef PHP_HASH_SHA3_H
1818
#define PHP_HASH_SHA3_H
1919

20-
#include "php.h"
21-
2220
typedef struct {
2321
#ifdef HAVE_SLOW_HASH3
2422
unsigned char state[200]; // 5 * 5 * sizeof(uint64)

ext/hash/php_hash_snefru.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* AKA "Xerox Secure Hash Function"
2222
*/
2323

24-
#include "ext/standard/basic_functions.h"
25-
2624
/* SNEFRU context */
2725
typedef struct {
2826
uint32_t state[16];

ext/opcache/zend_file_cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#ifdef ZEND_WIN32
3030
#include "ext/standard/md5.h"
3131
#endif
32+
#include "ext/standard/php_filestat.h"
3233

3334
#include "ZendAccelerator.h"
3435
#include "zend_file_cache.h"

ext/standard/md5.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
PHPAPI void make_digest(char *md5str, const unsigned char *digest);
2222
PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);
2323

24-
#include "ext/standard/basic_functions.h"
25-
2624
/*
2725
* This is an OpenSSL-compatible implementation of the RSA Data Security,
2826
* Inc. MD5 Message-Digest Algorithm (RFC 1321).

ext/standard/sha1.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef SHA1_H
1818
#define SHA1_H
1919

20-
#include "ext/standard/basic_functions.h"
21-
2220
/* SHA1 context. */
2321
typedef struct {
2422
uint32_t state[5]; /* state (ABCD) */

0 commit comments

Comments
 (0)