1 void lib2_default (void); 2 void lib2_hidden (void); 3 void lib2_internal (void); 4 void lib2_protected (void); 5 6 void __attribute__((visibility ("default"))) lib2_default(void)7lib2_default (void) 8 { 9 } 10 11 void __attribute__((visibility ("hidden"))) lib2_hidden(void)12lib2_hidden (void) 13 { 14 } 15 16 void __attribute__((visibility ("internal"))) lib2_internal(void)17lib2_internal (void) 18 { 19 } 20 21 void __attribute__((visibility ("protected"))) lib2_protected(void)22lib2_protected (void) 23 { 24 } 25