From 148cde5e982950ad5836fa96baa466de842e1c14 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 27 Feb 2007 21:17:21 +0000 Subject: Finally, a clean SDCC compile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/get_errno_ptr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/sched/get_errno_ptr.c') diff --git a/nuttx/sched/get_errno_ptr.c b/nuttx/sched/get_errno_ptr.c index c9f0d52c8..7a8084c71 100644 --- a/nuttx/sched/get_errno_ptr.c +++ b/nuttx/sched/get_errno_ptr.c @@ -61,9 +61,9 @@ * ************************************************************/ -int *get_errno_ptr(void) +FAR int *get_errno_ptr(void) { - _TCB *ptcb = (_TCB*)g_readytorun.head; + FAR _TCB *ptcb = (FAR _TCB*)g_readytorun.head; return &ptcb->errno; } -- cgit v1.2.3