From 2611da5e2a32b93ee0dc3fbca906a98c27e1950c 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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@20 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/sched/wd_initialize.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/sched/wd_initialize.c') diff --git a/nuttx/sched/wd_initialize.c b/nuttx/sched/wd_initialize.c index 5d979bb3df..a1d943079a 100644 --- a/nuttx/sched/wd_initialize.c +++ b/nuttx/sched/wd_initialize.c @@ -67,7 +67,7 @@ sq_queue_t g_wdfreelist; * item. */ -wdog_t *g_wdpool; +FAR wdog_t *g_wdpool; /* The g_wdactivelist data structure is a singly linked list * ordered by watchdog expiration time. When watchdog timers @@ -118,15 +118,15 @@ void wd_initialize(void) * configured number of watchdogs. */ - g_wdpool = (wdog_t*)kmalloc(sizeof(wdog_t) * CONFIG_PREALLOC_WDOGS); + g_wdpool = (FAR wdog_t*)kmalloc(sizeof(wdog_t) * CONFIG_PREALLOC_WDOGS); if (g_wdpool) { - wdog_t *wdog = g_wdpool; + FAR wdog_t *wdog = g_wdpool; int i; for (i = 0; i < CONFIG_PREALLOC_WDOGS; i++) { - sq_addlast((sq_entry_t*)wdog++, &g_wdfreelist); + sq_addlast((FAR sq_entry_t*)wdog++, &g_wdfreelist); } } -- cgit v1.2.3