Here is a piece of code from my lib.h file:
This worked when I compiled it with gcc in linux. However, when i compiled the same code in Pelles C for windows, it came out with the following errors:Code:typedef struct list List; extern List *insertList (char *head, List *tail); extern List *makeList (FILE *fp); extern void printList (List *aList); extern List *nospaceList (List *h); extern void *wordCompare (List *aList, char *word);
error #2001: Syntax error; found '*' expecting ')'
Extraneous old-style parameter list
these error messages are both for the line, extern List *makeList (FILE *fp);