]> granicus.if.org Git - apache/commitdiff
Export functions declared by APR_DECLARE_INHERIT_SET/UNSET macros.
authorBrian Havard <bjh@apache.org>
Tue, 16 Jul 2002 10:07:42 +0000 (10:07 +0000)
committerBrian Havard <bjh@apache.org>
Tue, 16 Jul 2002 10:07:42 +0000 (10:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96075 13f79535-47bb-0310-9956-ffa450edef68

build/make_exports.awk

index 09651f2af6a5f94e906913e5f6981a75a8392bda..eefc1a94516a277f8284e7fa2af505b91588b0ac 100644 (file)
@@ -104,6 +104,20 @@ function add_symbol(symbol) {
     next
 }
 
+/^[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_DECLARE_INHERIT_SET[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_inherit_set")
+    next
+}
+
+/^[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(][^)]*[)]/ {
+    sub("[ \t]*APR_DECLARE_INHERIT_UNSET[^(]*[(]", "", $0)
+    sub("[)].*$", "", $0)
+    add_symbol("apr_" $0 "_inherit_unset")
+    next
+}
+
 /^#[ \t]*if(ndef| !defined[(])([^_]*_)*H/ {
     enter_scope(TYPE_HEADER)
     next