summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2024-07-20 15:36:20 +0200
committerIvan Zhakov <ivan@apache.org>2024-07-20 15:36:20 +0200
commita047de204a6e59694196c31ea1c8908654803d83 (patch)
tree122bf00635626b3e2a3a82887a432c6f861e0139 /build
parent* .github/workflows/windows.yml: Add quotes for -DAPR_LIBRARIES argument. (diff)
downloadapache2-a047de204a6e59694196c31ea1c8908654803d83.tar.xz
apache2-a047de204a6e59694196c31ea1c8908654803d83.zip
* build/build-modules-c.awk: Add AP_DECLARE_DATA to ap_prelinked_modules,
ap_prelinked_modules_symbols and ap_preloaded_modules to match declaration in ap_config.h. It doesn't change behavior because AP_DECLARE_DATA is empty on non-Windows platform. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/build-modules-c.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build-modules-c.awk b/build/build-modules-c.awk
index 68fd83bbe2..bde6c46929 100644
--- a/build/build-modules-c.awk
+++ b/build/build-modules-c.awk
@@ -47,7 +47,7 @@ END {
print " * initially linked into the Apache processing"
print " * [extendable under run-time via AddModule]"
print " */"
- print "module *ap_prelinked_modules[] = {"
+ print "AP_DECLARE_DATA module *ap_prelinked_modules[] = {"
for (i = 0 ; i < n; ++i) {
printf " &%s_module,\n", modules[i]
}
@@ -58,7 +58,7 @@ END {
print " * We need the symbols as strings for <IfModule> containers"
print " */"
print ""
- print "ap_module_symbol_t ap_prelinked_module_symbols[] = {"
+ print "AP_DECLARE_DATA ap_module_symbol_t ap_prelinked_module_symbols[] = {"
for (i = 0; i < n; ++i) {
printf (" {\"%s_module\", &%s_module},\n", modules[i], modules[i])
}
@@ -72,7 +72,7 @@ END {
print " * initially loaded into the Apache process"
print " * [extendable under run-time via LoadModule]"
print " */"
- print "module *ap_preloaded_modules[] = {"
+ print "AP_DECLARE_DATA module *ap_preloaded_modules[] = {"
for (i = 0; i < pn; ++i) {
printf " &%s_module,\n", pmodules[i]
}