Skip to content

Commit

Permalink
* build/build-modules-c.awk: Add AP_DECLARE_DATA to ap_prelinked_modu…
Browse files Browse the repository at this point in the history
…les,

  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
  • Loading branch information
Ivan Zhakov committed Jul 20, 2024
1 parent 6068da7 commit a047de2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/build-modules-c.awk
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
Expand All @@ -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])
}
Expand All @@ -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]
}
Expand Down

0 comments on commit a047de2

Please sign in to comment.