typedef struct item { char *text; int count; struct item *next; };
So I have this struct with nodes defined as above, but Im getting the er
The typedef is useless because you didn't give it a name. You cannot use the typedef in any way. That's why you get a warning, because the typedef is useless.