summaryrefslogtreecommitdiff
path: root/build/make_exports.awk
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-11-28 00:58:12 +0000
committerJeff Trawick <trawick@apache.org>2001-11-28 00:58:12 +0000
commitd577f88da998823651334b3af44f52690b02f83a (patch)
treee7450ff6d9f1106469fa5b80e69d3701a4b4ae4f /build/make_exports.awk
parent83c0b89f0a40e131ee9a198de0ab7bcb0b8465ce (diff)
downloadhttpd-d577f88da998823651334b3af44f52690b02f83a.tar.gz
recognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so
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
Diffstat (limited to 'build/make_exports.awk')
-rw-r--r--build/make_exports.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/make_exports.awk b/build/make_exports.awk
index b50768125d..f9ee2561f3 100644
--- a/build/make_exports.awk
+++ b/build/make_exports.awk
@@ -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