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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a65d176074e8007928f6d377ca61f5c8f202c73c;p=apache 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 12b17a99db..f94d56d6fd 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);