From: Joe Orton Date: Fri, 26 Feb 2016 16:59:06 +0000 (+0000) Subject: * modules/ssl/h2_h2.c: Use mod_ssl function pointer types by reference. X-Git-Tag: 2.5.0-alpha~2003 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13e1fcebd11e68af49f722026ed29b05500986d2;p=apache * modules/ssl/h2_h2.c: Use mod_ssl function pointer types by reference. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732519 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_h2.c b/modules/http2/h2_h2.c index 719042f9d4..05fb6ef6fd 100644 --- a/modules/http2/h2_h2.c +++ b/modules/http2/h2_h2.c @@ -56,11 +56,9 @@ const char *H2_MAGIC_TOKEN = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"; /******************************************************************************* * The optional mod_ssl functions we need. */ -static int (*opt_ssl_engine_disable)(conn_rec*); -static int (*opt_ssl_is_https)(conn_rec*); -static char *(*opt_ssl_var_lookup)(apr_pool_t *, server_rec *, - conn_rec *, request_rec *, - char *); +static APR_OPTIONAL_FN_TYPE(ssl_engine_disable) *opt_ssl_engine_disable; +static APR_OPTIONAL_FN_TYPE(ssl_is_https) *opt_ssl_is_https; +static APR_OPTIONAL_FN_TYPE(ssl_var_lookup) *opt_ssl_var_lookup; /*******************************************************************************