diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-31 10:16:31 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:35 +0200 |
commit | 0a718a01bd45ad57ac6159ba93e193c38c90da24 (patch) | |
tree | 95f55cf637e13d8c99c701f494e01a0720a9acc7 | |
parent | 6ac83250f28be17add6324129cf5890ca9920701 (diff) |
arm: avoid 2 compiler warnings
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | libc/sysdeps/linux/arm/aeabi_assert.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/aeabi_mb_cur_max.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/aeabi_assert.c b/libc/sysdeps/linux/arm/aeabi_assert.c index a725ad45d..489882f1d 100644 --- a/libc/sysdeps/linux/arm/aeabi_assert.c +++ b/libc/sysdeps/linux/arm/aeabi_assert.c @@ -21,7 +21,7 @@ #include <stdlib.h> -void __aeabi_assert(const char *assertion, const char *file, unsigned int line); +void __aeabi_assert(const char *assertion, const char *file, unsigned int line) attribute_noreturn; void __aeabi_assert(const char *assertion, const char *file, unsigned int line) { __assert (assertion, file, line, NULL); diff --git a/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c b/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c index 77e979a65..43cd3c762 100644 --- a/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c +++ b/libc/sysdeps/linux/arm/aeabi_mb_cur_max.c @@ -20,8 +20,8 @@ #include <locale.h> #include <stdlib.h> -int -__aeabi_MB_CUR_MAX (void) +int __aeabi_MB_CUR_MAX (void); +int __aeabi_MB_CUR_MAX (void) { return MB_CUR_MAX; } |