Fix insufficiently parenthesized macro expansions.

This commit is contained in:
Markus Armbruster 2006-04-30 16:08:45 +00:00
parent cee8e126a2
commit a292d6f98a
16 changed files with 43 additions and 80 deletions

View file

@ -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];