arm-trusted-firmware/lib/libc
Masahiro Yamada f906a44e9e 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>
2019-09-11 11:28:46 +09:00
..
aarch64 libc: Move setjmp to libc folder 2019-02-08 13:42:38 +00:00
abort.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
assert.c libc: fix sparse warning for __assert() 2019-09-11 11:28:46 +09:00
exit.c libc: Fix some MISRA defects 2018-08-30 16:21:59 +01:00
libc.mk libc: Move setjmp to libc folder 2019-02-08 13:42:38 +00:00
memchr.c libc: fix memchr implementation 2019-06-20 09:59:24 +01:00
memcmp.c Remove several warnings reported with W=1 2019-04-01 10:43:42 +01:00
memcpy.c Remove several warnings reported with W=1 2019-04-01 10:43:42 +01:00
memmove.c libc: Cleanup remaining files 2018-08-22 10:26:04 +01:00
memset.c Remove several warnings reported with W=1 2019-04-01 10:43:42 +01:00
printf.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
putchar.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
puts.c libc: Fix some MISRA defects 2018-08-30 16:21:59 +01:00
snprintf.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
strchr.c libc: Cleanup FreeBSD files 2018-08-22 10:26:05 +01:00
strcmp.c libc: Cleanup FreeBSD files 2018-08-22 10:26:05 +01:00
strlcpy.c libc: Adapt strlcpy to this codebase 2018-11-02 13:41:33 +00:00
strlen.c libc: Introduce cdefs.h, assert.h and strlen.c 2018-08-22 10:26:04 +01:00
strncmp.c libc: Cleanup FreeBSD files 2018-08-22 10:26:05 +01:00
strnlen.c libc: Cleanup FreeBSD files 2018-08-22 10:26:05 +01:00
strrchr.c libc: Integrate strrchr in libc 2018-10-23 18:27:45 +01:00