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