summaryrefslogtreecommitdiff
path: root/nuttx/sched/wd_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/wd_cancel.c')
-rw-r--r--nuttx/sched/wd_cancel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/wd_cancel.c b/nuttx/sched/wd_cancel.c
index 9bdeafcf8..acf957163 100644
--- a/nuttx/sched/wd_cancel.c
+++ b/nuttx/sched/wd_cancel.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * wd_cancel.c
+ * sched/wd_cancel.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -85,12 +85,12 @@
*
****************************************************************************/
-STATUS wd_cancel (WDOG_ID wdid)
+int wd_cancel (WDOG_ID wdid)
{
wdog_t *curr;
wdog_t *prev;
irqstate_t saved_state;
- STATUS ret = ERROR;
+ int ret = ERROR;
/* Prohibit timer interactions with the timer queue until the
* cancellation is complete