Guard unit.h against multiple inclusion
This commit is contained in:
parent
60000b1a42
commit
4a44b51f8c
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,9 @@
|
||||||
* Markus Armbruster, 2006
|
* Markus Armbruster, 2006
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef UNIT_H
|
||||||
|
#define UNIT_H
|
||||||
|
|
||||||
#include "empobj.h"
|
#include "empobj.h"
|
||||||
|
|
||||||
struct ulist {
|
struct ulist {
|
||||||
|
@ -60,3 +63,5 @@ extern void unit_update_cargo(struct empobj *);
|
||||||
extern void unit_drop_cargo(struct empobj *, natid);
|
extern void unit_drop_cargo(struct empobj *, natid);
|
||||||
extern void unit_give_away(struct empobj *, natid, natid);
|
extern void unit_give_away(struct empobj *, natid, natid);
|
||||||
extern void unit_wipe_orders(struct empobj *);
|
extern void unit_wipe_orders(struct empobj *);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue