mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
random: Add missing PHPAPI to php_random_generate_fallback_seed() in random.c
The declaration in the header had it.
This commit is contained in:
@@ -622,7 +622,7 @@ static inline void fallback_seed_add(PHP_SHA1_CTX *c, void *p, size_t l){
|
||||
PHP_SHA1Update(c, p, l);
|
||||
}
|
||||
|
||||
uint64_t php_random_generate_fallback_seed(void)
|
||||
PHPAPI uint64_t php_random_generate_fallback_seed(void)
|
||||
{
|
||||
/* Mix various values using SHA-1 as a PRF to obtain as
|
||||
* much entropy as possible, hopefully generating an
|
||||
|
||||
Reference in New Issue
Block a user