From 6c59c29942183c79696cb8cfebab08f13757c960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 23 May 2024 23:11:26 +0200 Subject: [PATCH] random: Add missing PHPAPI to `php_random_generate_fallback_seed()` in random.c The declaration in the header had it. --- ext/random/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/random/random.c b/ext/random/random.c index 8acf3ee17ef..c606fc3867d 100644 --- a/ext/random/random.c +++ b/ext/random/random.c @@ -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