gcc is picky, fix gcc warnings

This commit is contained in:
Enno Rehling 2016-02-18 11:10:49 +01:00
parent 4f7e1cb80f
commit 370338736c
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern "C" { extern "C" {
#endif #endif
struct faction;
struct region; struct region;
struct faction; struct faction;
struct plane; struct plane;

View File

@ -66,6 +66,7 @@ extern "C" {
struct message_list; struct message_list;
struct rawmaterial; struct rawmaterial;
struct item; struct item;
struct faction;
#define MORALE_TAX_FACTOR 0.005 /* 0.5% tax per point of morale */ #define MORALE_TAX_FACTOR 0.005 /* 0.5% tax per point of morale */
#define MORALE_MAX 10 /* Maximum morale allowed */ #define MORALE_MAX 10 /* Maximum morale allowed */