summaryrefslogtreecommitdiff
path: root/build/make_exports.awk
diff options
context:
space:
mode:
Diffstat (limited to 'build/make_exports.awk')
-rw-r--r--build/make_exports.awk14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/make_exports.awk b/build/make_exports.awk
index 09651f2af6..eefc1a9451 100644
--- a/build/make_exports.awk
+++ b/build/make_exports.awk
@@ -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