summaryrefslogtreecommitdiff
path: root/ext/openssl/xp_ssl.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-02-21 23:09:16 +0100
committerAnatol Belski <ab@php.net>2014-02-21 23:09:16 +0100
commit5b6ef90bc0de63d2aa1f91d52b46021313aa18b5 (patch)
treef12db080042b56a5b7edfff5fd758cf7153014b0 /ext/openssl/xp_ssl.c
parent865a41a6a3f6b4cfc9d3e253d62bc5a3617cd6dd (diff)
downloadphp-git-5b6ef90bc0de63d2aa1f91d52b46021313aa18b5.tar.gz
fix linkage
"extern inline" looks like tricky case for portability, but extern is required with VS. So reduce the case to a starndard one to avoid unporbatibily.
Diffstat (limited to 'ext/openssl/xp_ssl.c')
-rw-r--r--ext/openssl/xp_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
index 71664175a0..8971cdabc1 100644
--- a/ext/openssl/xp_ssl.c
+++ b/ext/openssl/xp_ssl.c
@@ -51,7 +51,7 @@
int php_openssl_apply_verification_policy(SSL *ssl, X509 *peer, php_stream *stream TSRMLS_DC);
SSL *php_SSL_new_from_context(SSL_CTX *ctx, php_stream *stream TSRMLS_DC);
-php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl);
+extern php_stream* php_openssl_get_stream_from_ssl_handle(const SSL *ssl);
int php_openssl_get_x509_list_id(void);
php_stream_ops php_openssl_socket_ops;