views:

48

answers:

2
+1  A: 

What's struct list? There is no type named struct list (at least in what you've shown).

Maybe you meant struct ref?

Pablo Santa Cruz
A: 

Nowhere in the code sample are you defining struct list which is what the error is.

Richard Harrison