]> granicus.if.org Git - apache/commitdiff
recognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so
authorJeff Trawick <trawick@apache.org>
Wed, 28 Nov 2001 00:58:12 +0000 (00:58 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 28 Nov 2001 00:58:12 +0000 (00:58 +0000)
that exports.c and the .exp files have the necessary references

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92207 13f79535-47bb-0310-9956-ffa450edef68

build/make_exports.awk

index b50768125d677909eef380d28d8c55d4d7dff5fc..f9ee2561f3bcae288dc72a4ba9352df01fe31c21 100644 (file)
@@ -97,6 +97,13 @@ function add_symbol(symbol) {
     next
 }
 
+/^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_pool_get")
+    next
+}
+
 /^#[ \t]*if(ndef| !defined[(])([^_]*_)*H/ {
     enter_scope(TYPE_HEADER)
     next