Ok, i have this problem that is driving me nuts!
I have a header file that has the function definition:
landindp get_world_landind( worldp world );
where landindp and worldp are pointers to structs.
I keep getting errors saying "parse error before get_world_landind()"
and "warning: data definition has no type or storage class"
Now i have the landind.h file included, and landindp is defined as:
typedef struct landind *landindp;
and in landind.c
struct landind
{
//insert code here
} landind_;
Any ideas why i would be getting this error? It seems to me that the
struct is not being seen, but why?