Skip to content

Commit 6c59c29

Browse files
committed
random: Add missing PHPAPI to php_random_generate_fallback_seed() in random.c
The declaration in the header had it.
1 parent 8faaf3f commit 6c59c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/random/random.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static inline void fallback_seed_add(PHP_SHA1_CTX *c, void *p, size_t l){
622622
PHP_SHA1Update(c, p, l);
623623
}
624624

625-
uint64_t php_random_generate_fallback_seed(void)
625+
PHPAPI uint64_t php_random_generate_fallback_seed(void)
626626
{
627627
/* Mix various values using SHA-1 as a PRF to obtain as
628628
* much entropy as possible, hopefully generating an

0 commit comments

Comments
 (0)