1 int foo (void) __attribute__ ((weak)); 2 int foo(void)3 foo (void) 4 { 5 return 1; 6 } 7 8 int mod1_bar(void)9 mod1_bar (void) 10 { 11 return foo (); 12 } 13