From: Guenter Knauf Date: Thu, 1 Oct 2009 01:08:05 +0000 (+0000) Subject: first trial to fix the export list for recent mod_watchdog changes ... X-Git-Tag: 2.3.3~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03266419b6044b8f538e702976f149901cfde114;p=thirdparty%2Fapache%2Fhttpd.git first trial to fix the export list for recent mod_watchdog changes ... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@820503 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index 60c7a56f955..c8939e90e64 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -25,8 +25,8 @@ BEGIN { #/ap_some_name/{next} /ap_mpm_pod_/{next} -/^[ \t]*AP([RU]|_CORE|_WD)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { - sub("[ \t]*AP([RU]|_CORE|_WD)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") +/^[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ { + sub("[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "") sub("[(].*", "") sub("([^ ]* (^([ \t]*[(])))+", "") add_symbol($0) @@ -82,6 +82,14 @@ BEGIN { add_symbol($NF) } +/^[ \t]*AP[RU]?_DECLARE_OPTIONAL_FN[^(]*[(][^)]*/ { + split($0, args, ",") + symbol = args[2] + sub("^[ \t]+", "", symbol) + add_symbol(symbol) + next +} + #END { # printf("\n\n#found: %d symbols.\n", found) #} diff --git a/build/nw_export.inc b/build/nw_export.inc index a1f7adabf6c..177519e5e7f 100644 --- a/build/nw_export.inc +++ b/build/nw_export.inc @@ -13,7 +13,7 @@ #define AP_CORE_DECLARE_NONSTD AP_CORE_DECLARE_NONSTD #define AP_DECLARE_HOOK AP_DECLARE_HOOK #define AP_DECLARE_DATA AP_DECLARE_DATA -#define AP_WD_DECLARE AP_WD_DECLARE +#define APR_DECLARE_OPTIONAL_FN APR_DECLARE_OPTIONAL_FN #define APR_DECLARE_EXTERNAL_HOOK APR_DECLARE_EXTERNAL_HOOK #undef APACHE_OS_H