git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d0b80
)
[media] rc-core.h: Surround macro with do {} while (0)
author
Joe Perches
<joe@perches.com>
Sun, 21 Aug 2011 22:56:45 +0000
(19:56 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 3 Sep 2011 23:56:22 +0000
(20:56 -0300)
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>
No differences found