diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2017-04-21 00:22:15 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2017-06-02 12:48:51 +1000 |
commit | ba73da9cd7101d465360b66b6374cedeb8007637 (patch) | |
tree | 1c9d2cced7f6e2dafa261c3f1be054280a04566d /dist | |
parent | 78109ca3fea602885a62fc2872fc553450168149 (diff) | |
download | mongo-ba73da9cd7101d465360b66b6374cedeb8007637.tar.gz |
WT-3293 Don't explicitly mark internal symbols hidden. (#3398)
It messes with external stack decoders (e.g., MongoDB's built-in heap profiling).
(cherry picked from commit 96ee1d3f21d434a6c4389a82092f570d211ad608)
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/s_prototypes | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dist/s_prototypes b/dist/s_prototypes index d6228866f08..9675cd5a843 100755 --- a/dist/s_prototypes +++ b/dist/s_prototypes @@ -42,9 +42,6 @@ proto() -e '# Add the warn_unused_result attribute to any external' \ -e '# functions that return an int.' \ -e '/^extern int /s/$/ WT_GCC_FUNC_DECL_ATTRIBUTE((warn_unused_result))/' \ - -e '# Add the hidden attribute to any external functions without' \ - -e '# an explicit visibility.' \ - -e '/visibility/!s/$/ WT_GCC_FUNC_DECL_ATTRIBUTE((visibility("hidden")))/' \ -e 's/$/;/' \ -e p < $1 } |