View Single Post
Mentor
6Jun2012,11:46  
xpi0t0s's Avatar
Assuming line 46 is this one:
Code:
element = list_entry (ptr, struct roll_struct, list);
you can't put a typename (struct roll_struct) there. You must use the name of a variable. You have the same error on the other two lines.