]> granicus.if.org Git - apache/commitdiff
Sync'ed the NetWare export AWK script to the Unix script
authorBradley Nicholes <bnicholes@apache.org>
Fri, 30 Nov 2001 22:29:41 +0000 (22:29 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Fri, 30 Nov 2001 22:29:41 +0000 (22:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92268 13f79535-47bb-0310-9956-ffa450edef68

build/make_nw_export.awk

index 3bd8e50dd4f6e6e1ca1d0a167e91c55c08f708b9..c07c735184ee42bece6e94a712a35160b7f1cdee 100644 (file)
@@ -52,6 +52,13 @@ function add_symbol (sym_name) {
     next
 }
 
+/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_pool_get")
+    next
+}
+
 /^[ \t]*AP[RU]?_DECLARE_DATA .*;$/ {
        varname = $NF;
        gsub( /[*;]/, "", varname);