Revert "global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT()"
This reverts commit 8739517107
.
Pull Request #23437 was merged by mistake with an invalid manifest.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
4810906030
commit
4b37a8f3a4
52 changed files with 207 additions and 206 deletions
|
@ -47,7 +47,7 @@ BUILD_ASSERT(sizeof(foo) == sizeof(int));
|
|||
|
||||
static struct foo foos[5];
|
||||
/* Check that ARRAY_SIZE compiles. */
|
||||
BUILD_ASSERT(ARRAY_SIZE(foos) == 5, "expected 5 elements");
|
||||
BUILD_ASSERT_MSG(ARRAY_SIZE(foos) == 5, "expected 5 elements");
|
||||
|
||||
/* Check that SYS_INIT() compiles. */
|
||||
static int test_init(struct device *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue