From: Bradley Nicholes Date: Mon, 19 Nov 2001 23:33:15 +0000 (+0000) Subject: Fixed the AWK script so that it will pick up functions that have been X-Git-Tag: 2.0.29~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e3aa6d7da530bda7019cbfbbc0e775d2b86ccdd;p=apache Fixed the AWK script so that it will pick up functions that have been declared on multiple lines such as create_connection in connection.h. Otherwise multi-line declared functions are omitted from the export list. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92044 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk index af73caed03..3bd8e50dd4 100644 --- a/build/make_nw_export.awk +++ b/build/make_nw_export.awk @@ -40,7 +40,7 @@ function add_symbol (sym_name) { next } -/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*[)]/ { +/^[ \t]*AP_DECLARE_HOOK[^(]*[(][^)]*/ { split($0, args, ",") symbol = args[2] sub("^[ \t]+", "", symbol)