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/mips/src/mips32/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/mips/src/mips32/up_assert.c')
-rw-r--r-- | nuttx/arch/mips/src/mips32/up_assert.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/mips/src/mips32/up_assert.c b/nuttx/arch/mips/src/mips32/up_assert.c index 7d98e7427..f27bc0ebe 100644 --- a/nuttx/arch/mips/src/mips32/up_assert.c +++ b/nuttx/arch/mips/src/mips32/up_assert.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/mips/src/mips32/up_assert.c * - * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2011-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -90,7 +90,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? */ |