(tchrstr, tchr_ca): Remove, use struct symbol and symbol_ca. Users

changed.
(tchr, treaty_flags): Rename for consistency with other flags.
This commit is contained in:
Markus Armbruster 2005-10-29 14:10:23 +00:00
parent 02ec5df820
commit e612db5cb6
7 changed files with 17 additions and 31 deletions

View file

@ -46,11 +46,6 @@ struct trtstr {
time_t trt_exp; /* expiration date */
};
struct tchrstr {
int t_cond; /* bit to indicate this clause */
char *t_name; /* description of clause */
};
#define TS_FREE 0
#define TS_PROPOSED 1
#define TS_SIGNED 2
@ -68,8 +63,6 @@ struct tchrstr {
#define TRTENL bit(9) /* no enlistment */
#define SUBFIR bit(10) /* no depth-charging submarines */
/* global treaty variables */
#define gettre(n, p) \
ef_read(EF_TREATY, n, p)
#define puttre(n, p) \
@ -77,6 +70,4 @@ struct tchrstr {
#define gettrep(n) \
(struct trtstr *) ef_ptr(EF_TREATY, n)
extern struct tchrstr tchr[];
#endif /* _TREATY_H_ */