1 2extern void foo (int *); 3 4static void bar (char *buf) 5{ 6 int a; 7 foo (&a); 8 while (a > 0) { 9 *buf++ = '0'; 10 a--; 11 } 12} 13