(CHE_MAX): Don't define twice, define once in a header.
(get_che_cnum, set_che_cnum, get_che_value, set_che_value): Remove redundant definitions.
This commit is contained in:
parent
13797a2ba2
commit
98b392d72c
3 changed files with 1 additions and 9 deletions
|
@ -52,13 +52,6 @@
|
|||
|
||||
static void take_casualties(struct sctstr *, int);
|
||||
|
||||
#define get_che_cnum(x) ((x) >> 8)
|
||||
#define set_che_cnum(x, cn) ((x) = ((x) & 0xff) | ((cn) << 8))
|
||||
#define get_che_value(x) ((x) & 0xff)
|
||||
#define set_che_value(x, n) ((x) = ((x) & 0xff00) | (n))
|
||||
|
||||
#define CHE_MAX 255
|
||||
|
||||
void
|
||||
revolt(struct sctstr *sp)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue