Here is the structure declare code.
struct list_el { int val; struct list_el * next; }; typedef struct list_el item;
And when I
you should use -Wshadow when you compile you code. Then, gcc will tell you where you are wrong. :-) like follows: declaration of ‘item’ shadows a global declaration [-Wshadow]
-Wshadow
declaration of ‘item’ shadows a global declaration [-Wshadow]