aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/8051/src/up_assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/8051/src/up_assert.c')
-rw-r--r--nuttx/arch/8051/src/up_assert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/8051/src/up_assert.c b/nuttx/arch/8051/src/up_assert.c
index 46d731041..5e59d6af0 100644
--- a/nuttx/arch/8051/src/up_assert.c
+++ b/nuttx/arch/8051/src/up_assert.c
@@ -65,7 +65,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? */