diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-31 23:29:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-31 23:29:34 +0000 |
commit | 966e801032745429ec2f28f9e5ab0b3fc8a68d3d (patch) | |
tree | 8c1586e169aa482558c987cd7c4a542e4a6c6d4a /nuttx/arch/arm/src/armv7-m/up_assert.c | |
parent | 28a0241ccd48963a13638c1dfbef161ab1bf557e (diff) | |
download | px4-firmware-966e801032745429ec2f28f9e5ab0b3fc8a68d3d.tar.gz px4-firmware-966e801032745429ec2f28f9e5ab0b3fc8a68d3d.tar.bz2 px4-firmware-966e801032745429ec2f28f9e5ab0b3fc8a68d3d.zip |
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
Diffstat (limited to 'nuttx/arch/arm/src/armv7-m/up_assert.c')
-rw-r--r-- | nuttx/arch/arm/src/armv7-m/up_assert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/up_assert.c b/nuttx/arch/arm/src/armv7-m/up_assert.c index 8e29bfe80..b40b1090c 100644 --- a/nuttx/arch/arm/src/armv7-m/up_assert.c +++ b/nuttx/arch/arm/src/armv7-m/up_assert.c @@ -267,7 +267,8 @@ static void up_dumpstate(void) * 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? */ |