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