diff options
author | Brian Havard <bjh@apache.org> | 2002-07-16 10:07:42 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2002-07-16 10:07:42 +0000 |
commit | a03aee7ed437ad2ef3f2b64e255dbf768125ef88 (patch) | |
tree | dc4c4860dc441c71592a6ddf6f8315d7d63b7154 /build/make_exports.awk | |
parent | 6efe4acae8b2e3ff7e1e4fcef4facd51a77b4780 (diff) | |
download | httpd-a03aee7ed437ad2ef3f2b64e255dbf768125ef88.tar.gz |
Export functions declared by APR_DECLARE_INHERIT_SET/UNSET macros.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/make_exports.awk')
-rw-r--r-- | build/make_exports.awk | 14 |
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 |