Skip to content

Commit fec08c3

Browse files
committed
Fix [-Wstrict-prototypes] in OpenSSL extension in .c files
1 parent 3dae9d0 commit fec08c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static RSA *php_openssl_tmp_rsa_cb(SSL *s, int is_export, int keylength);
121121

122122
extern php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl);
123123
extern zend_string* php_openssl_x509_fingerprint(X509 *peer, const char *method, zend_bool raw);
124-
extern int php_openssl_get_ssl_stream_data_index();
124+
extern int php_openssl_get_ssl_stream_data_index(void);
125125
extern int php_openssl_get_x509_list_id(void);
126126
static struct timeval php_openssl_subtract_timeval(struct timeval a, struct timeval b);
127127
static int php_openssl_compare_timeval(struct timeval a, struct timeval b);

0 commit comments

Comments
 (0)