summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelmut K. C. Tessarek <tessarek@evermeet.cx>2023-05-21 19:24:47 -0400
committerJan Pazdziora <jpazdziora@redhat.com>2023-05-25 10:18:01 +0200
commit7ef6ea80236e1465aaa53fab02138f0f9a730ab5 (patch)
treebaeec9863db966e0f94db1226b6e3a3e5d34697d
parentbccc8a79ebbf9d63a21d2e33ab6f07a31f1c0db8 (diff)
downloadmod_authnz_pam-7ef6ea80236e1465aaa53fab02138f0f9a730ab5.tar.gz
mod_authnz_pam-7ef6ea80236e1465aaa53fab02138f0f9a730ab5.tar.xz
mod_authnz_pam-7ef6ea80236e1465aaa53fab02138f0f9a730ab5.zip
Addressing apxs:Error: Sorry, cannot determine bootstrap symbol name with apxs -i
-rw-r--r--mod_authnz_pam.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/mod_authnz_pam.c b/mod_authnz_pam.c
index 13b1265..0ab97d6 100644
--- a/mod_authnz_pam.c
+++ b/mod_authnz_pam.c
@@ -32,6 +32,8 @@
#include "mod_auth.h"
+module AP_MODULE_DECLARE_DATA authnz_pam_module;
+
#ifdef APLOG_USE_MODULE
#define SHOW_MODULE ""
#else
@@ -166,8 +168,6 @@ static const char * format_location(request_rec * r, const char * url, const cha
return out;
}
-module AP_MODULE_DECLARE_DATA authnz_pam_module;
-
#if AP_MODULE_MAGIC_AT_LEAST(20100625,0)
static APR_OPTIONAL_FN_TYPE(ap_authn_cache_store) *authn_cache_store = NULL;
@@ -343,12 +343,7 @@ static void register_hooks(apr_pool_t * p) {
#endif
}
-#ifdef AP_DECLARE_MODULE
-AP_DECLARE_MODULE(authnz_pam)
-#else
-module AP_MODULE_DECLARE_DATA authnz_pam_module
-#endif
- = {
+AP_DECLARE_MODULE(authnz_pam) = {
STANDARD20_MODULE_STUFF,
create_dir_conf, /* Per-directory configuration handler */
NULL, /* Merge handler for per-directory configurations */