summaryrefslogtreecommitdiffstats
path: root/modules/ssl
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2013-05-30 09:23:52 +0200
committerJoe Orton <jorton@apache.org>2013-05-30 09:23:52 +0200
commit4c3548218090bde9dfebe15f8ce33eb6d28c71e4 (patch)
tree5b3d3df04be0f59c3f6330512b49e1b3f04b522a /modules/ssl
parentmod_ssl: Redesign NPN (Next Protocol Negotiation) API to avoid use of (diff)
downloadapache2-4c3548218090bde9dfebe15f8ce33eb6d28c71e4.tar.xz
apache2-4c3548218090bde9dfebe15f8ce33eb6d28c71e4.zip
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
Diffstat (limited to 'modules/ssl')
-rw-r--r--modules/ssl/mod_ssl.c4
-rw-r--r--modules/ssl/ssl_private.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/modules/ssl/mod_ssl.c b/modules/ssl/mod_ssl.c
index fdb90a120c..bdfafdf948 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 2158e00f36..ef7e8e3d87 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 *);