summaryrefslogtreecommitdiffstats
path: root/modules/examples
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-06-06 18:59:50 +0200
committerStefan Fritsch <sf@apache.org>2010-06-06 18:59:50 +0200
commitebb62867fb8a335f70c30e01280cc30f5c4d0597 (patch)
tree29aeee2174a4d451a238e5774296194856db7aaf /modules/examples
parentFix some modules to make them compile with per-module loglevels. (diff)
downloadapache2-ebb62867fb8a335f70c30e01280cc30f5c4d0597.tar.xz
apache2-ebb62867fb8a335f70c30e01280cc30f5c4d0597.zip
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/mod_case_filter.c2
-rw-r--r--modules/examples/mod_case_filter_in.c2
-rw-r--r--modules/examples/mod_example_hooks.c2
-rw-r--r--modules/examples/mod_example_ipc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/examples/mod_case_filter.c b/modules/examples/mod_case_filter.c
index 023ebb2205..6c07d37f07 100644
--- a/modules/examples/mod_case_filter.c
+++ b/modules/examples/mod_case_filter.c
@@ -127,7 +127,7 @@ static void CaseFilterRegisterHooks(apr_pool_t *p)
AP_FTYPE_RESOURCE);
}
-module AP_MODULE_DECLARE_DATA case_filter_module =
+AP_DECLARE_MODULE(case_filter) =
{
STANDARD20_MODULE_STUFF,
NULL,
diff --git a/modules/examples/mod_case_filter_in.c b/modules/examples/mod_case_filter_in.c
index d474794010..966d7a9996 100644
--- a/modules/examples/mod_case_filter_in.c
+++ b/modules/examples/mod_case_filter_in.c
@@ -148,7 +148,7 @@ static void CaseFilterInRegisterHooks(apr_pool_t *p)
AP_FTYPE_RESOURCE);
}
-module AP_MODULE_DECLARE_DATA case_filter_in_module =
+AP_DECLARE_MODULE(case_filter_in) =
{
STANDARD20_MODULE_STUFF,
NULL,
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c
index a9709149e6..256a6e8f4c 100644
--- a/modules/examples/mod_example_hooks.c
+++ b/modules/examples/mod_example_hooks.c
@@ -1511,7 +1511,7 @@ static const command_rec x_cmds[] =
* Module definition for configuration. If a particular callback is not
* needed, replace its routine name below with the word NULL.
*/
-module AP_MODULE_DECLARE_DATA example_hooks_module =
+AP_DECLARE_MODULE(example_hooks) =
{
STANDARD20_MODULE_STUFF,
x_create_dir_config, /* per-directory config creator */
diff --git a/modules/examples/mod_example_ipc.c b/modules/examples/mod_example_ipc.c
index d0a83cfa98..ef39cd7b61 100644
--- a/modules/examples/mod_example_ipc.c
+++ b/modules/examples/mod_example_ipc.c
@@ -354,7 +354,7 @@ static void exipc_register_hooks(apr_pool_t *p)
}
/* Dispatch list for API hooks */
-module AP_MODULE_DECLARE_DATA example_ipc_module = {
+AP_DECLARE_MODULE(example_ipc) = {
STANDARD20_MODULE_STUFF,
NULL, /* create per-dir config structures */
NULL, /* merge per-dir config structures */