random: Add PHPAPI to all php_random_algo definitions (#14088)

The php_random.h header already defines them as `PHPAPI` and they actually are
part of the public API.

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
This commit is contained in:
Tim Düsterhus 2024-04-30 21:01:13 +02:00 committed by GitHub
parent 8d67f23eb2
commit d5cc7e9109
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -73,7 +73,7 @@ static zend_long range(void *state, zend_long min, zend_long max)
}, min, max);
}
const php_random_algo php_random_algo_user = {
PHPAPI const php_random_algo php_random_algo_user = {
sizeof(php_random_status_state_user),
generate,
range,