Skip to content

Commit

Permalink
random: Add missing PHPAPI to php_random_generate_fallback_seed() i…
Browse files Browse the repository at this point in the history
…n random.c

The declaration in the header had it.
  • Loading branch information
TimWolla committed May 23, 2024
1 parent 8faaf3f commit 6c59c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/random/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c59c29

Please sign in to comment.