summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-05-31 09:03:15 +0200
committerGuenter Knauf <fuankg@apache.org>2013-05-31 09:03:15 +0200
commit586e05012404f9a6b807b79f277154da0859ff52 (patch)
tree7dfc824f832a627b2fc4f94f02f50924844b62a5 /modules
parentAdd missing LoadModule line for mod_auth_form (diff)
downloadapache2-586e05012404f9a6b807b79f277154da0859ff52.tar.xz
apache2-586e05012404f9a6b807b79f277154da0859ff52.zip
Remove unneeded exports from mod_lua - part 2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1488114 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/lua/mod_lua.c6
-rw-r--r--modules/lua/mod_lua.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c
index 8c5057249f..d9ab79de71 100644
--- a/modules/lua/mod_lua.c
+++ b/modules/lua/mod_lua.c
@@ -1554,7 +1554,9 @@ static const char *register_lua_root(cmd_parms *cmd, void *_cfg,
cfg->root_path = root;
return NULL;
}
-AP_LUA_DECLARE(const char *) ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var)
+
+const char *ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c,
+ request_rec *r, const char *var)
{
if (lua_ssl_val) {
return (const char *)lua_ssl_val(p, s, c, r, (char *)var);
@@ -1562,7 +1564,7 @@ AP_LUA_DECLARE(const char *) ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_r
return NULL;
}
-AP_LUA_DECLARE(int) ap_lua_ssl_is_https(conn_rec *c)
+int ap_lua_ssl_is_https(conn_rec *c)
{
return lua_ssl_is_https ? lua_ssl_is_https(c) : 0;
}
diff --git a/modules/lua/mod_lua.h b/modules/lua/mod_lua.h
index 6f83fc55a1..7fd115330b 100644
--- a/modules/lua/mod_lua.h
+++ b/modules/lua/mod_lua.h
@@ -168,8 +168,9 @@ APR_DECLARE_EXTERNAL_HOOK(ap_lua, AP_LUA, int, lua_open,
APR_DECLARE_EXTERNAL_HOOK(ap_lua, AP_LUA, int, lua_request,
(lua_State *L, request_rec *r))
-AP_LUA_DECLARE(const char *) ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var);
+const char *ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c,
+ request_rec *r, const char *var);
-AP_LUA_DECLARE(int) ap_lua_ssl_is_https(conn_rec *c);
+int ap_lua_ssl_is_https(conn_rec *c);
#endif /* !_MOD_LUA_H_ */