You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2013/05/30 09:23:52 UTC

svn commit: r1487775 - in /httpd/httpd/trunk/modules/ssl: mod_ssl.c ssl_private.h

Author: jorton
Date: Thu May 30 07:23:52 2013
New Revision: 1487775

URL: http://svn.apache.org/r1487775
Log:
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.

Modified:
    httpd/httpd/trunk/modules/ssl/mod_ssl.c
    httpd/httpd/trunk/modules/ssl/ssl_private.h

Modified: httpd/httpd/trunk/modules/ssl/mod_ssl.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/mod_ssl.c?rev=1487775&r1=1487774&r2=1487775&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/mod_ssl.c (original)
+++ httpd/httpd/trunk/modules/ssl/mod_ssl.c Thu May 30 07:23:52 2013
@@ -388,7 +388,7 @@ static SSLConnRec *ssl_init_connection_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;
 

Modified: httpd/httpd/trunk/modules/ssl/ssl_private.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_private.h?rev=1487775&r1=1487774&r2=1487775&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_private.h (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_private.h Thu May 30 07:23:52 2013
@@ -880,10 +880,6 @@ SSL_SESSION *ssl_scache_retrieve(server_
 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 *);