I have the following list-processing interface which I save as .h file.
I don't see anything wrong with it but everytime I compile, it says that the
declaration in line 2 is missing ";"..........can anyone please help?
my code is:
typedef struct node *link;
struct node{ itemType item; link next; };
typedef link Node;
void initNodes(int);
link newNode(int);
void freeNode(link);
void insertNext(link,link);
link deleteNext(link);
link Next(link);
int Item(link);
anyone's help/comments/suggestions will be greatly appreciated.
Thank you.