Skip to content

Commit 257f108

Browse files
committed
fix php_init_crypt_r/php_shutdown_crypt_r signatures warning.
1 parent 8e1cef4 commit 257f108

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ext/standard/php_crypt_r.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747
MUTEX_T php_crypt_extended_init_lock;
4848
#endif
4949

50-
void php_init_crypt_r()
50+
void php_init_crypt_r(void)
5151
{
5252
#ifdef ZTS
5353
php_crypt_extended_init_lock = tsrm_mutex_alloc();
5454
#endif
5555
}
5656

57-
void php_shutdown_crypt_r()
57+
void php_shutdown_crypt_r(void)
5858
{
5959
#ifdef ZTS
6060
tsrm_mutex_free(php_crypt_extended_init_lock);

ext/standard/php_crypt_r.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
BEGIN_EXTERN_C()
2121
#include "crypt_freesec.h"
2222

23-
void php_init_crypt_r();
24-
void php_shutdown_crypt_r();
23+
void php_init_crypt_r(void);
24+
void php_shutdown_crypt_r(void);
2525

2626
extern void _crypt_extended_init_r(void);
2727

0 commit comments

Comments
 (0)