C Help!!!

Very urgent!!!

1: typedef long tcpseq;
2:
3: struct tcp{
4: tcpseq seqnum;
5: tcpseq seqid;
6: };

This is a .h file. For line 1, I get the following message:

---------Storage class specified for parameter “tcpseq”

My question is: What does it mean? Is it an error message or a warning or nothing at all?

Followed by this I get the following error for lines 4 and 5:

---------Parse error before tcpseq

What exactly could be happening here? I am gonna go nuts soon. Help, please!!!

looks like the compiler is complaining about your typedef statement (although it looks ok). what compiler are you using? try "int" instead of "long" and see if you still get the same error. I tried your code in "MSVC++ 6.0" and got no errors.

Its the unix C compiler. I am on a windows machine but ssh'ing into my unix account in the lab. So, basically the environment is unix.