gcc/clang want structs to be defined before used in an argument list

This commit is contained in:
Enno Rehling 2014-12-17 17:46:21 +01:00
parent 2759114414
commit bc8f8c74f9
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern "C" { extern "C" {
#endif #endif
struct faction;
struct region;
struct building;
/* leuchtturm */ /* leuchtturm */
bool check_leuchtturm(struct region *r, struct faction *f); bool check_leuchtturm(struct region *r, struct faction *f);
void update_lighthouse(struct building *lh); void update_lighthouse(struct building *lh);