commit | 86b0dbef777a1fbb9922e304f047921d4e9d9c40 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Sun Aug 21 19:56:45 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Sep 03 20:56:22 2011 -0300 |
tree | 1896914d75102dc7c067bb419f6076835978ede9 | |
parent | 44d0b80e5ff741d502a6ccc8685a18bda1ac9da4 [diff] |
[media] rc-core.h: Surround macro with do {} while (0) Macros coded with if statements should be do { if... } while (0) so the macros can be used in other if tests. Use ##__VA_ARGS__ for variadic macro as well. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>