1 extern int foo (void) __attribute__((weak,__visibility__ ("hidden"))); 2 3 int 4 foo (void) 5 { 6 return 1; 7 } 8 9 int 10 bar (void) 11 { 12 return foo (); 13 } 14