From: Joe Orton Date: Thu, 30 May 2013 07:23:52 +0000 (+0000) Subject: Remove unnecessary global declarations of optional function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88fa6ae808ecae21e65db686d48f1b3e0f963495;p=thirdparty%2Fapache%2Fhttpd.git Remove unnecessary global declarations of optional function implementations: * modules/ssl/mod_ssl.c (ssl_proxy_enable, ssl_engine_disable): Mark static. * modules/ssl/ssl_private.h (ssl_proxy_enable, ssl_engine_disable): Remove declarations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1487775 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c index fdb90a120cc..bdfafdf9486 100644 --- a/modules/ssl/mod_ssl.c +++ b/modules/ssl/mod_ssl.c @@ -388,7 +388,7 @@ static SSLConnRec *ssl_init_connection_ctx(conn_rec *c) return sslconn; } -int ssl_proxy_enable(conn_rec *c) +static int ssl_proxy_enable(conn_rec *c) { SSLSrvConfigRec *sc; @@ -409,7 +409,7 @@ int ssl_proxy_enable(conn_rec *c) return 1; } -int ssl_engine_disable(conn_rec *c) +static int ssl_engine_disable(conn_rec *c) { SSLSrvConfigRec *sc; diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index 2158e00f365..ef7e8e3d877 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -880,10 +880,6 @@ SSL_SESSION *ssl_scache_retrieve(server_rec *, UCHAR *, int, apr_pool_t *); void ssl_scache_remove(server_rec *, UCHAR *, int, apr_pool_t *); -/** Proxy Support */ -int ssl_proxy_enable(conn_rec *c); -int ssl_engine_disable(conn_rec *c); - /** OCSP Stapling Support */ #ifdef HAVE_OCSP_STAPLING const char *ssl_cmd_SSLStaplingCache(cmd_parms *, void *, const char *);