diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-12-27 17:51:20 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-12-27 17:51:20 +0000 |
commit | fca961dab3abac3ac391ebe5f01eaaabb0be8fcf (patch) | |
tree | 792f4fe6e5fcb18de9a73cf1e7d43a4129dddd0d /usr.bin/less/ch.c | |
parent | 4c20087fc1b4bbbb8729e12305fc7b6c5a799352 (diff) |
Put macro arg in parentheses.
ok nicm@
Diffstat (limited to 'usr.bin/less/ch.c')
-rw-r--r-- | usr.bin/less/ch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/ch.c b/usr.bin/less/ch.c index a4df21ab217..86500972b4d 100644 --- a/usr.bin/less/ch.c +++ b/usr.bin/less/ch.c @@ -81,7 +81,7 @@ struct filestate { * Macros to manipulate the list of buffers in thisfile->buflist. */ #define FOR_BUFS(bn) \ - for (bn = ch_bufhead; bn != END_OF_CHAIN; bn = bn->next) + for ((bn) = ch_bufhead; (bn) != END_OF_CHAIN; (bn) = (bn)->next) #define BUF_RM(bn) \ (bn)->next->prev = (bn)->prev; \ |