Browse Source

Comment a use of `__attribute__((visibility("protected")))`. (#204)

This comments out a use of "protected" visibility, since
[WebAssembly doesn't support it].

[WebAssembly doesn't support it]: https://reviews.llvm.org/D81688
pull/210/head
Dan Gohman 4 years ago
committed by GitHub
parent
commit
00cc5944df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libc-top-half/musl/src/internal/stdio_impl.h

2
libc-top-half/musl/src/internal/stdio_impl.h

@ -89,9 +89,11 @@ hidden int __towrite(FILE *);
hidden void __stdio_exit(void); hidden void __stdio_exit(void);
hidden void __stdio_exit_needed(void); hidden void __stdio_exit_needed(void);
#ifdef __wasilibc_unmodified_upstream // wasm has no "protected" visibility
#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303) #if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303)
__attribute__((visibility("protected"))) __attribute__((visibility("protected")))
#endif #endif
#endif
int __overflow(FILE *, int), __uflow(FILE *); int __overflow(FILE *, int), __uflow(FILE *);
hidden int __fseeko(FILE *, off_t, int); hidden int __fseeko(FILE *, off_t, int);

Loading…
Cancel
Save