>>270
>struct LIST{
>int val;
>struct list *next;
>} ;
普通も何も、struct LIST * next;じゃないの?

>main()
これは int main()だろうな。