[OCLUG-devel] C and external variables
James Colannino
james at colannino.org
Wed Aug 24 13:53:57 PDT 2005
I have a quick question about C and external variables; let's say that
in one file I have the following:
typedef struct thing_ {
variables;
} thing;
Now let's say that I want to declare a variable in another file with
that external type. How would I declare it? Would I have to do another
typedef in the other file, such as:
typedef extern thing thing;
I'm just guessing here, so I know I'm most likely wrong. Thanks in advance.
James
More information about the OCLUG-devel
mailing list