summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-26 14:46:41 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-26 14:46:41 +0000
commitfc3607dc320fc6c6881ccfa7b68f3630e41c3c47 (patch)
tree9138297b48ec2424c5e2b8277e9b701f7baf0b03 /extra
parent6acbe8c4715d9238b62eb39711bbeeea270a7eda (diff)
- remove all *_hidden_proto(...) on install_headers
Diffstat (limited to 'extra')
-rwxr-xr-xextra/scripts/install_headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/scripts/install_headers.sh b/extra/scripts/install_headers.sh
index 6d73ad2c6..f08695aee 100755
--- a/extra/scripts/install_headers.sh
+++ b/extra/scripts/install_headers.sh
@@ -46,7 +46,7 @@ while read -r filename; do
# exactly the same as input. That's ok.
# Do not abort the script if unifdef "fails"!
"$top_builddir/extra/scripts/unifdef" -UUCLIBC_INTERNAL "$1/$filename" \
- | grep -v '^libc_hidden_proto[ ]*([a-zA-Z0-9_]*)$' >"$2/$filename"
+ | sed -e '/^\(rtld\|lib\(c\|m\|resolv\|dl\|intl\|rt\|nsl\|util\|crypt\|pthread\)\)_hidden_proto[ ]*([a-zA-Z0-9_]*)$/d' >"$2/$filename"
fi
done
)