mshearer
Joined: 12 Jan 2009 Posts: 33
|
global variable scope |
Posted: Thu Feb 05, 2009 2:50 am |
|
|
Hi,
I'm having a bit of a problem which may relate to a variable not being global for all source files.
I have a structure declared in main.c
Code: | extern STATUS_TABLE_TYPE status_table; |
Then when I try and access some of the elements of the structure from a different source file, I get
Quote: | Expecting a structure/Union status_table |
Any help would be great
thanks,
Matt |
|