commit | 77389b2703553fc0b4a73858a8c4c4abbc9aabff | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Fri Jul 26 20:21:39 2019 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Sep 11 11:28:46 2019 +0900 |
tree | 81fc5b95c6531237061e0635d5e2396f48e6ff19 | |
parent | 60021ea0ee5c0c0653d938abdedce64eddf9cfe2 [diff] |
libc: fix sparse warning for __assert() Sparse warns this: lib/libc/assert.c:29:6: error: symbol '__assert' redeclared with different type (originally declared at include/lib/libc/assert.h:36) - different modifiers Add __dead2 to match the header declaration and C definition. I also changed '__dead2 void' to 'void __dead2' for the consistency with other parts. Change-Id: Iefa4f0e787c24fa7e7e499d2e7baf54d4deb49ef Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>