Fix insufficiently parenthesized macro expansions.
This commit is contained in:
parent
cee8e126a2
commit
a292d6f98a
16 changed files with 43 additions and 80 deletions
|
@ -137,12 +137,9 @@ struct plist {
|
|||
struct plnstr plane; /* struct plane */
|
||||
};
|
||||
|
||||
#define getplane(n, p) \
|
||||
ef_read(EF_PLANE, n, p)
|
||||
#define putplane(n, p) \
|
||||
ef_write(EF_PLANE, n, p)
|
||||
#define getplanep(n) \
|
||||
(struct plnstr *) ef_ptr(EF_PLANE, n)
|
||||
#define getplane(n, p) ef_read(EF_PLANE, (n), (p))
|
||||
#define putplane(n, p) ef_write(EF_PLANE, (n), (p))
|
||||
#define getplanep(n) (struct plnstr *)ef_ptr(EF_PLANE, (n))
|
||||
|
||||
extern struct plchrstr plchr[N_MAXPLANE + 1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue