1 typedef struct str { short x, y;} S; 2 3 static short bar(short ch,short sl,short sr,short tl,short tr)4bar (short ch, short sl, short sr, short tl, short tr) 5 { 6 return 0; 7 } 8 9 void foo(short ch,S * pi,short nc,S * po)10foo (short ch, S *pi, short nc, S *po) 11 { 12 short clo, chi, lo, hi; 13 14 po->x = bar (ch, clo, chi, pi[lo].x, pi[hi].x); 15 po->y = bar (ch, clo, chi, pi[lo].y, pi[hi].y); 16 } 17