From 257f1089248d1c5a94cbbebfc0bf0ee20a5e5044 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 29 Sep 2022 18:08:38 +0100 Subject: [PATCH] fix php_init_crypt_r/php_shutdown_crypt_r signatures warning. --- ext/standard/php_crypt_r.c | 4 ++-- ext/standard/php_crypt_r.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/standard/php_crypt_r.c b/ext/standard/php_crypt_r.c index f8dffe9cc52..dcd937cbebd 100644 --- a/ext/standard/php_crypt_r.c +++ b/ext/standard/php_crypt_r.c @@ -47,14 +47,14 @@ MUTEX_T php_crypt_extended_init_lock; #endif -void php_init_crypt_r() +void php_init_crypt_r(void) { #ifdef ZTS php_crypt_extended_init_lock = tsrm_mutex_alloc(); #endif } -void php_shutdown_crypt_r() +void php_shutdown_crypt_r(void) { #ifdef ZTS tsrm_mutex_free(php_crypt_extended_init_lock); diff --git a/ext/standard/php_crypt_r.h b/ext/standard/php_crypt_r.h index 8ea5282d825..f40a5082f81 100644 --- a/ext/standard/php_crypt_r.h +++ b/ext/standard/php_crypt_r.h @@ -20,8 +20,8 @@ BEGIN_EXTERN_C() #include "crypt_freesec.h" -void php_init_crypt_r(); -void php_shutdown_crypt_r(); +void php_init_crypt_r(void); +void php_shutdown_crypt_r(void); extern void _crypt_extended_init_r(void);