From 0a718a01bd45ad57ac6159ba93e193c38c90da24 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 31 Mar 2011 10:16:31 +0200 Subject: arm: avoid 2 compiler warnings Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/arm/aeabi_assert.c | 2 +- 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 -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 #include -int -__aeabi_MB_CUR_MAX (void) +int __aeabi_MB_CUR_MAX (void); +int __aeabi_MB_CUR_MAX (void) { return MB_CUR_MAX; } -- cgit v1.2.3