extern variables?

From: Nick (hash@brionne.cyberverse.com)
Date: 07/06/96


I'm having a weird problem.  I am trying to use the following variables 
in one of my circle code files:
  board_info[whatever].rnum
  shop_index[whatever].producing[number]

Now, when I first tried to compile, I tried it with just putting this 
stuff at the top of the file (with the other externs):
  extern struct board_info_type board_info[];
  extern struct shop_data *shop_index;

It didn't compile correctly.  So then I figured I had to add this stuff too:
  #include "shop.h"
  #include "boards.h"

Unfortunately, it _still_ won't compile.  What am I doing wrong?

The kinds of errors that I get seem to be "undefined type" or "incomplete 
type".

Thanks in advance for the help,

  _,.-=~'`^`'~=-.,_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,_,.-=~'`^`'~=-.,_
 /  .     .    .    mail: Hash [hash@cyberverse.com]   .      .     \
| .    .          www: http://www.cyberverse.com/~hash          .    |
 \  .       .    .     .     .   irc: Hsh .   .      .    .    .   . /
  \ TIP#939   .    .    .  .   .    .      .               .Nick C. /
   ^'~=-.,__,.-=~'`^`'~=-.,_,.-=~'`^`'~=-.,_,.-=~'`^`'~=-.,__,.-=~'^



This archive was generated by hypermail 2b30 : 12/07/00 PST