diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2007-02-27 21:17:21 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2007-02-27 21:17:21 +0000 |
commit | 2611da5e2a32b93ee0dc3fbca906a98c27e1950c (patch) | |
tree | bf737b367b91c5da81345eb21016b07400d7a72f /nuttx/sched/wd_initialize.c | |
parent | e5b41fc741019f00f8e6432f651f92e66c1f58e4 (diff) |
Finally, a clean SDCC compile
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@20 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched/wd_initialize.c')
-rw-r--r-- | nuttx/sched/wd_initialize.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |