exclude_libs_test_3.c 390 B

123456789101112131415161718192021222324
  1. void lib3_default (void);
  2. void lib3_hidden (void);
  3. void lib3_internal (void);
  4. void lib3_protected (void);
  5. void __attribute__((visibility ("default")))
  6. lib3_default (void)
  7. {
  8. }
  9. void __attribute__((visibility ("hidden")))
  10. lib3_hidden (void)
  11. {
  12. }
  13. void __attribute__((visibility ("internal")))
  14. lib3_internal (void)
  15. {
  16. }
  17. void __attribute__((visibility ("protected")))
  18. lib3_protected (void)
  19. {
  20. }