diff options
author | Dave Watson <davejwatson@fb.com> | 2017-12-28 08:26:42 -0800 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-12-28 08:26:42 -0800 |
commit | a1437a3d27924e17d00021df3cc659bd998e8580 (patch) | |
tree | 1cf3ed29e4028effadda78422e3f320082c1ac54 /src/x86/Ginit_local.c | |
parent | 29137c6fa9303eedc310a467e508716813174414 (diff) | |
download | libunwind-a1437a3d27924e17d00021df3cc659bd998e8580.tar.gz |
Remove PROTECTED visibility
This only works on bfd ld, not lld or gold.
Diffstat (limited to 'src/x86/Ginit_local.c')
-rw-r--r-- | src/x86/Ginit_local.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x86/Ginit_local.c b/src/x86/Ginit_local.c index 88c52de3..bff06870 100644 --- a/src/x86/Ginit_local.c +++ b/src/x86/Ginit_local.c @@ -28,7 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifdef UNW_REMOTE_ONLY -PROTECTED int +int unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) { return -UNW_EINVAL; @@ -53,13 +53,13 @@ unw_init_local_common(unw_cursor_t *cursor, ucontext_t *uc, unsigned use_prev_in return common_init (c, use_prev_instr); } -PROTECTED int +int unw_init_local (unw_cursor_t *cursor, ucontext_t *uc) { return unw_init_local_common(cursor, uc, 1); } -PROTECTED int +int unw_init_local2 (unw_cursor_t *cursor, ucontext_t *uc, int flag) { if (!flag) |