1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

fix php_init_crypt_r/php_shutdown_crypt_r signatures warning.

This commit is contained in:
David Carlier
2022-09-29 18:08:38 +01:00
parent 8e1cef4341
commit 257f108924
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);