summaryrefslogtreecommitdiffstats
path: root/modules/arch/netware/mod_nw_ssl.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-09-01 18:17:23 +0200
committerGuenter Knauf <fuankg@apache.org>2010-09-01 18:17:23 +0200
commit973eb55182723f35905d9afaa3db60264eef57dd (patch)
tree8dfa5594115b25230f4fa9d7d9a29dc848274935 /modules/arch/netware/mod_nw_ssl.c
parentset default pattern type using the enum value instead of (diff)
downloadapache2-973eb55182723f35905d9afaa3db60264eef57dd.tar.xz
apache2-973eb55182723f35905d9afaa3db60264eef57dd.zip
Added require prototypes conditionally to CFLAGS for NETWare;
added header includes for getting protos. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch/netware/mod_nw_ssl.c')
-rw-r--r--modules/arch/netware/mod_nw_ssl.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/arch/netware/mod_nw_ssl.c b/modules/arch/netware/mod_nw_ssl.c
index 89b0483657..690de8d51e 100644
--- a/modules/arch/netware/mod_nw_ssl.c
+++ b/modules/arch/netware/mod_nw_ssl.c
@@ -41,9 +41,11 @@
#include "httpd.h"
#include "http_config.h"
+#include "http_connection.h"
+#include "http_core.h"
#include "http_log.h"
#include "http_protocol.h"
-#include "http_core.h"
+#include "http_request.h"
#include "ap_listen.h"
#include "apr_strings.h"
#include "apr_portable.h"
@@ -132,7 +134,7 @@ static ap_listen_rec *nw_old_listeners;
#define get_nwssl_cfg(srv) (NWSSLSrvConfigRec *) ap_get_module_config(srv->module_config, &nwssl_module)
-static void build_cert_list (apr_pool_t *p)
+static void build_cert_list(apr_pool_t *p)
{
int i;
char **rootcerts = (char **)certlist->elts;
@@ -307,7 +309,7 @@ static int make_secure_socket(apr_pool_t *pconf, const struct sockaddr_in *serve
return s;
}
-int convert_secure_socket(conn_rec *c, apr_socket_t *csd)
+static int convert_secure_socket(conn_rec *c, apr_socket_t *csd)
{
int rcode;
struct tlsclientopts sWS2Opts;
@@ -370,7 +372,7 @@ int convert_secure_socket(conn_rec *c, apr_socket_t *csd)
return rcode;
}
-int SSLize_Socket(SOCKET socketHnd, char *key, request_rec *r)
+static int SSLize_Socket(SOCKET socketHnd, char *key, request_rec *r)
{
int rcode;
struct tlsserveropts sWS2Opts;