(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:
Markus Armbruster 2004-03-01 13:32:06 +00:00
parent 13797a2ba2
commit 98b392d72c
3 changed files with 1 additions and 9 deletions

View file

@ -95,6 +95,7 @@
#define V_FALLOUT V_COND(C_FALLOUT)
/* should this be here?? */
#define CHE_MAX 255
#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)