summaryrefslogtreecommitdiff
path: root/build/make_nw_export.awk
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-07-19 19:46:33 +0000
committerBradley Nicholes <bnicholes@apache.org>2002-07-19 19:46:33 +0000
commitc71a31c0a77797e33190a3ea24ba1635fc3a19ed (patch)
tree75d412299447d1ca314f28964f8235483db91607 /build/make_nw_export.awk
parentbee89482777e2fadeb37de2d3dc80527dac3a664 (diff)
downloadapr-c71a31c0a77797e33190a3ea24ba1635fc3a19ed.tar.gz
Bringing the NetWare export script up to date with other export scripts
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63714 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/make_nw_export.awk')
-rw-r--r--build/make_nw_export.awk14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk
index 1d8481051..e0f273b0f 100644
--- a/build/make_nw_export.awk
+++ b/build/make_nw_export.awk
@@ -51,6 +51,20 @@ function add_symbol (sym_name) {
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]*AP[RU]?_DECLARE_DATA .*;$/ {
varname = $NF;
gsub( /[*;]/, "", varname);