From 586e05012404f9a6b807b79f277154da0859ff52 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Fri, 31 May 2013 07:03:15 +0000 Subject: 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 --- modules/lua/mod_lua.c | 6 ++++-- modules/lua/mod_lua.h | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'modules') 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_ */ -- cgit v1.2.3