From: Bradley Nicholes Date: Mon, 8 Apr 2002 22:08:34 +0000 (+0000) Subject: Fix export of variables that have "extern" before their AP_DECLARE_DATA. X-Git-Tag: 2.0.36~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b9c55041e28bcb3ddf1c68315a4ac24a8199206;p=thirdparty%2Fapache%2Fhttpd.git Fix export of variables that have "extern" before their AP_DECLARE_DATA. This includes ap_subreq_core_filter_handle which mod_autoindex.c now needs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94551 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index 12b17a99db4..f94d56d6fde 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -43,7 +43,7 @@ function add_symbol (sym_name) { next } -/^[ \t]*AP[RU]?_DECLARE_DATA .*;$/ { +/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ { varname = $NF; gsub( /[*;]/, "", varname); gsub( /\[.*\]/, "", varname);