1
0
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:
Tim Düsterhus
2024-05-23 23:11:26 +02:00
parent 8faaf3faac
commit 6c59c29942

View File

@@ -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