From 966e801032745429ec2f28f9e5ab0b3fc8a68d3d Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 31 Jan 2013 23:29:34 +0000 Subject: Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sh/src/common/up_assert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nuttx/arch/sh/src/common/up_assert.c') diff --git a/nuttx/arch/sh/src/common/up_assert.c b/nuttx/arch/sh/src/common/up_assert.c index 5b56e7731..62889fa5a 100644 --- a/nuttx/arch/sh/src/common/up_assert.c +++ b/nuttx/arch/sh/src/common/up_assert.c @@ -76,7 +76,8 @@ * Name: _up_assert ****************************************************************************/ -static void _up_assert(int errorcode) /* noreturn_function */ +static void _up_assert(int errorcode) noreturn_function; +static void _up_assert(int errorcode) { /* Are we in an interrupt handler or the idle task? */ -- cgit v1.2.3