Enforce semicolons after usage of WHINE_ONCE

For consistency.

Since WHINE_ONCE ends with a block, the only way to make the compiler
enforce it is to end it with a `do { } while (false)`.
This commit is contained in:
Misa
2021-08-06 21:05:03 -07:00
committed by Ethan Lee
parent 4a07e98015
commit 3094ddb8f3
2 changed files with 10 additions and 9 deletions

View File

@@ -43,7 +43,8 @@ void VVV_fillstring(
{ \
whine = false; \
puts(message); \
}
} \
do { } while (false)
/* Don't call this directly; use the VVV_between macro. */
void _VVV_between(