summaryrefslogtreecommitdiff
path: root/nuttx/lib/dq_remfirst.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
commit148cde5e982950ad5836fa96baa466de842e1c14 (patch)
treebf737b367b91c5da81345eb21016b07400d7a72f /nuttx/lib/dq_remfirst.c
parentf6b81a790c28d7d36d9de33810df5270c1ebbfd7 (diff)
downloadpx4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.gz
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.bz2
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.zip
Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/dq_remfirst.c')
-rw-r--r--nuttx/lib/dq_remfirst.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/lib/dq_remfirst.c b/nuttx/lib/dq_remfirst.c
index 0c7381c77..ed64fe268 100644
--- a/nuttx/lib/dq_remfirst.c
+++ b/nuttx/lib/dq_remfirst.c
@@ -55,13 +55,13 @@
*
************************************************************/
-dq_entry_t *dq_remfirst(dq_queue_t *queue)
+FAR dq_entry_t *dq_remfirst(dq_queue_t *queue)
{
- dq_entry_t *ret = queue->head;
+ FAR dq_entry_t *ret = queue->head;
if (ret)
{
- dq_entry_t *next = ret->flink;
+ FAR dq_entry_t *next = ret->flink;
if (!next)
{
queue->head = NULL;
@@ -79,3 +79,4 @@ dq_entry_t *dq_remfirst(dq_queue_t *queue)
return ret;
}
+