From 4c3548218090bde9dfebe15f8ce33eb6d28c71e4 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 30 May 2013 07:23:52 +0000 Subject: 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 --- modules/ssl/mod_ssl.c | 4 ++-- modules/ssl/ssl_private.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'modules/ssl') 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 *); -- cgit v1.2.3