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
#define PHP_HASH_ADLER32_H
#include "ext/standard/basic_functions.h"
typedef struct {
uint32_t state;
} PHP_ADLER32_CTX;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,6 +29,7 @@
#ifdef ZEND_WIN32
#include "ext/standard/md5.h"
#endif
#include "ext/standard/php_filestat.h"
#include "ZendAccelerator.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_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,
* Inc. MD5 Message-Digest Algorithm (RFC 1321).

View File

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