From ea45a3718fc280b291b2f45d467a2494973636fa Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 13 Dec 2009 18:01:46 +0000 Subject: types blkcnt_t and off_t should not depend on memory model; Remove non-standard type STATUS git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2330 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/sim/src/up_createstack.c | 8 ++++---- nuttx/arch/sim/src/up_usestack.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'nuttx/arch/sim') diff --git a/nuttx/arch/sim/src/up_createstack.c b/nuttx/arch/sim/src/up_createstack.c index f0aa8fdf6..4d31701a1 100644 --- a/nuttx/arch/sim/src/up_createstack.c +++ b/nuttx/arch/sim/src/up_createstack.c @@ -1,7 +1,7 @@ /**************************************************************************** - * up_createstack.c + * arch/sim/src/up_createstack.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -81,9 +81,9 @@ * ****************************************************************************/ -STATUS up_create_stack(_TCB *tcb, size_t stack_size) +int up_create_stack(_TCB *tcb, size_t stack_size) { - STATUS ret = ERROR; + int ret = ERROR; /* Move up to next even word boundary if necessary */ diff --git a/nuttx/arch/sim/src/up_usestack.c b/nuttx/arch/sim/src/up_usestack.c index e28cac312..309dc2dc4 100644 --- a/nuttx/arch/sim/src/up_usestack.c +++ b/nuttx/arch/sim/src/up_usestack.c @@ -1,7 +1,7 @@ /**************************************************************************** - * up_usestack.c + * arch/sim/src/up_usestack.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -81,7 +81,7 @@ * ****************************************************************************/ -STATUS up_use_stack(_TCB *tcb, void *stack, size_t stack_size) +int up_use_stack(_TCB *tcb, void *stack, size_t stack_size) { /* Move up to next even word boundary if necessary */ -- cgit v1.2.3