Remove unused ext/standard/basic_functions.h header inclusions

Those were probably included back in the day for the php_uint32 typedef
This commit is contained in:
Gina Peter Bnayard 2024-08-17 14:14:03 +02:00 committed by Gina Peter Banyard
parent 3e05c86c35
commit 3813ad10dc
10 changed files with 1 additions and 15 deletions

View file

@ -17,8 +17,6 @@
#ifndef PHP_HASH_ADLER32_H #ifndef PHP_HASH_ADLER32_H
#define PHP_HASH_ADLER32_H #define PHP_HASH_ADLER32_H
#include "ext/standard/basic_functions.h"
typedef struct { typedef struct {
uint32_t state; uint32_t state;
} PHP_ADLER32_CTX; } PHP_ADLER32_CTX;

View file

@ -17,8 +17,6 @@
#ifndef PHP_HASH_GOST_H #ifndef PHP_HASH_GOST_H
#define PHP_HASH_GOST_H #define PHP_HASH_GOST_H
#include "ext/standard/basic_functions.h"
/* GOST context */ /* GOST context */
typedef struct { typedef struct {
uint32_t state[16]; uint32_t state[16];

View file

@ -17,7 +17,6 @@
#ifndef PHP_HASH_HAVAL_H #ifndef PHP_HASH_HAVAL_H
#define PHP_HASH_HAVAL_H #define PHP_HASH_HAVAL_H
#include "ext/standard/basic_functions.h"
/* HAVAL context. */ /* HAVAL context. */
typedef struct { typedef struct {
uint32_t state[8]; uint32_t state[8];

View file

@ -16,7 +16,6 @@
#ifndef PHP_HASH_RIPEMD_H #ifndef PHP_HASH_RIPEMD_H
#define PHP_HASH_RIPEMD_H #define PHP_HASH_RIPEMD_H
#include "ext/standard/basic_functions.h"
/* RIPEMD context. */ /* RIPEMD context. */
typedef struct { typedef struct {

View file

@ -19,7 +19,6 @@
#define PHP_HASH_SHA_H #define PHP_HASH_SHA_H
#include "ext/standard/sha1.h" #include "ext/standard/sha1.h"
#include "ext/standard/basic_functions.h"
/* SHA224 context. */ /* SHA224 context. */
typedef struct { typedef struct {

View file

@ -17,8 +17,6 @@
#ifndef PHP_HASH_SHA3_H #ifndef PHP_HASH_SHA3_H
#define PHP_HASH_SHA3_H #define PHP_HASH_SHA3_H
#include "php.h"
typedef struct { typedef struct {
#ifdef HAVE_SLOW_HASH3 #ifdef HAVE_SLOW_HASH3
unsigned char state[200]; // 5 * 5 * sizeof(uint64) unsigned char state[200]; // 5 * 5 * sizeof(uint64)

View file

@ -21,8 +21,6 @@
* AKA "Xerox Secure Hash Function" * AKA "Xerox Secure Hash Function"
*/ */
#include "ext/standard/basic_functions.h"
/* SNEFRU context */ /* SNEFRU context */
typedef struct { typedef struct {
uint32_t state[16]; uint32_t state[16];

View file

@ -29,6 +29,7 @@
#ifdef ZEND_WIN32 #ifdef ZEND_WIN32
#include "ext/standard/md5.h" #include "ext/standard/md5.h"
#endif #endif
#include "ext/standard/php_filestat.h"
#include "ZendAccelerator.h" #include "ZendAccelerator.h"
#include "zend_file_cache.h" #include "zend_file_cache.h"

View file

@ -21,8 +21,6 @@
PHPAPI void make_digest(char *md5str, const unsigned char *digest); PHPAPI void make_digest(char *md5str, const unsigned char *digest);
PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len); PHPAPI void make_digest_ex(char *md5str, const unsigned char *digest, int len);
#include "ext/standard/basic_functions.h"
/* /*
* This is an OpenSSL-compatible implementation of the RSA Data Security, * This is an OpenSSL-compatible implementation of the RSA Data Security,
* Inc. MD5 Message-Digest Algorithm (RFC 1321). * Inc. MD5 Message-Digest Algorithm (RFC 1321).

View file

@ -17,8 +17,6 @@
#ifndef SHA1_H #ifndef SHA1_H
#define SHA1_H #define SHA1_H
#include "ext/standard/basic_functions.h"
/* SHA1 context. */ /* SHA1 context. */
typedef struct { typedef struct {
uint32_t state[5]; /* state (ABCD) */ uint32_t state[5]; /* state (ABCD) */