summaryrefslogtreecommitdiff
path: root/ext/hash/php_hash_haval.h
diff options
context:
space:
mode:
authorRouven Weßling <rouven@contentful.com>2016-01-29 13:47:47 +0100
committerNikita Popov <nikic@php.net>2016-02-04 11:57:41 +0100
commit7e0459e7cef32a143f8c0eb80b8b85e74b19c615 (patch)
treea77a833853f69567af3c080324232eb4c739c445 /ext/hash/php_hash_haval.h
parente93c28053d7d31853f59dc5adf0bfaff52819fb2 (diff)
downloadphp-git-7e0459e7cef32a143f8c0eb80b8b85e74b19c615.tar.gz
Replace usage of php_hash_uint32 and php_hash_uint64 with uint32_t and uint64_t.
Remove the unused php_hash_int32 and php_hash_int64.
Diffstat (limited to 'ext/hash/php_hash_haval.h')
-rw-r--r--ext/hash/php_hash_haval.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/php_hash_haval.h b/ext/hash/php_hash_haval.h
index 4d2504b037..8877797bfd 100644
--- a/ext/hash/php_hash_haval.h
+++ b/ext/hash/php_hash_haval.h
@@ -24,13 +24,13 @@
#include "ext/standard/basic_functions.h"
/* HAVAL context. */
typedef struct {
- php_hash_uint32 state[8];
- php_hash_uint32 count[2];
+ uint32_t state[8];
+ uint32_t count[2];
unsigned char buffer[128];
char passes;
short output;
- void (*Transform)(php_hash_uint32 state[8], const unsigned char block[128]);
+ void (*Transform)(uint32_t state[8], const unsigned char block[128]);
} PHP_HAVAL_CTX;
#define PHP_HASH_HAVAL_INIT_DECL(p,b) PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *); \