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

This commit is contained in:
Enno Rehling 2014-12-17 18:47:01 +01:00
parent 1050daac19
commit 916271ef3a
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" {
#endif
struct faction;
struct region;
struct building;
/* leuchtturm */
bool check_leuchtturm(struct region *r, struct faction *f);
void update_lighthouse(struct building *lh);