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