1 extern void free (void *__ptr); 2 struct shparam 3 { 4 char **p; 5 int foo; 6 }; 7 static struct shparam shellparam; freeparam(volatile struct shparam * param,char ** ap)8inline void freeparam (volatile struct shparam *param, char **ap) 9 { 10 free ((void *) (*ap)); 11 free ((void *) (param->p)); 12 } dotcmd(char ** p)13void dotcmd (char **p) 14 { 15 freeparam (&shellparam, p); 16 } evaltree(void)17void evaltree (void) 18 { 19 void (*evalfn) (char **); 20 evalfn = dotcmd; 21 } 22