summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/dist/s_prototypes
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/dist/s_prototypes')
-rwxr-xr-xsrc/third_party/wiredtiger/dist/s_prototypes3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/dist/s_prototypes b/src/third_party/wiredtiger/dist/s_prototypes
index d6228866f08..9675cd5a843 100755
--- a/src/third_party/wiredtiger/dist/s_prototypes
+++ b/src/third_party/wiredtiger/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
}