1typedef struct foo { 2 int a; 3 char b; 4 struct foo *c; 5} foo_s; 6typedef struct foo *foo_p; 7extern foo_p foop; 8