summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/mqueue/mq_timedreceive.c4
-rw-r--r--nuttx/sched/mqueue/mq_timedsend.c5
-rw-r--r--nuttx/sched/pthread/pthread_condtimedwait.c5
-rw-r--r--nuttx/sched/semaphore/sem_timedwait.c4
-rw-r--r--nuttx/sched/signal/sig_procmask.c7
-rw-r--r--nuttx/sched/signal/sig_releasependingsignal.c6
-rw-r--r--nuttx/sched/signal/sig_removependingsignal.c6
-rw-r--r--nuttx/sched/signal/sig_timedwait.c4
-rw-r--r--nuttx/sched/task/task_recover.c5
-rw-r--r--nuttx/sched/timer/timer.h4
-rw-r--r--nuttx/sched/timer/timer_create.c4
-rw-r--r--nuttx/sched/wdog/wd_cancel.c3
-rw-r--r--nuttx/sched/wdog/wd_create.c2
-rw-r--r--nuttx/sched/wdog/wd_delete.c2
-rw-r--r--nuttx/sched/wdog/wd_gettime.c2
-rw-r--r--nuttx/sched/wdog/wd_start.c2
-rw-r--r--nuttx/sched/wdog/wdog.h2
17 files changed, 35 insertions, 32 deletions
diff --git a/nuttx/sched/mqueue/mq_timedreceive.c b/nuttx/sched/mqueue/mq_timedreceive.c
index a0fc97860..d80304464 100644
--- a/nuttx/sched/mqueue/mq_timedreceive.c
+++ b/nuttx/sched/mqueue/mq_timedreceive.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/mqueue/mq_timedreceive.c
*
- * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -45,10 +45,10 @@
#include <unistd.h>
#include <errno.h>
#include <mqueue.h>
-#include <wdog.h>
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "sched/sched.h"
#include "clock/clock.h"
diff --git a/nuttx/sched/mqueue/mq_timedsend.c b/nuttx/sched/mqueue/mq_timedsend.c
index d78b720b7..84d05db06 100644
--- a/nuttx/sched/mqueue/mq_timedsend.c
+++ b/nuttx/sched/mqueue/mq_timedsend.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/mqueue/mq_timedsend.c
*
- * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,10 +44,11 @@
#include <stdbool.h>
#include <unistd.h>
#include <mqueue.h>
-#include <wdog.h>
#include <errno.h>
#include <debug.h>
+
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "clock/clock.h"
#include "sched/sched.h"
diff --git a/nuttx/sched/pthread/pthread_condtimedwait.c b/nuttx/sched/pthread/pthread_condtimedwait.c
index 4505225b2..766f9bbcd 100644
--- a/nuttx/sched/pthread/pthread_condtimedwait.c
+++ b/nuttx/sched/pthread/pthread_condtimedwait.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/pthread/pthread_condtimedwait.c
*
- * Copyright (C) 2007-2009, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -47,9 +47,10 @@
#include <time.h>
#include <errno.h>
#include <assert.h>
-#include <wdog.h>
#include <debug.h>
+#include <nuttx/wdog.h>
+
#include "sched/sched.h"
#include "pthread/pthread.h"
#include "clock/clock.h"
diff --git a/nuttx/sched/semaphore/sem_timedwait.c b/nuttx/sched/semaphore/sem_timedwait.c
index f5053bdf8..1ac69e68b 100644
--- a/nuttx/sched/semaphore/sem_timedwait.c
+++ b/nuttx/sched/semaphore/sem_timedwait.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/semaphore/sem_timedwait.c
*
- * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,10 +44,10 @@
#include <semaphore.h>
#include <time.h>
#include <errno.h>
-#include <wdog.h>
#include <debug.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "sched/sched.h"
#include "clock/clock.h"
diff --git a/nuttx/sched/signal/sig_procmask.c b/nuttx/sched/signal/sig_procmask.c
index c56fdf5aa..861c41047 100644
--- a/nuttx/sched/signal/sig_procmask.c
+++ b/nuttx/sched/signal/sig_procmask.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/signal/sig_procmask.c
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,12 +42,13 @@
#include <unistd.h>
#include <signal.h>
#include <time.h>
-#include <wdog.h>
#include <assert.h>
#include <debug.h>
#include <sched.h>
-#include <nuttx/kmalloc.h>
+
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
+#include <nuttx/kmalloc.h>
#include "sched/sched.h"
#include "signal/signal.h"
diff --git a/nuttx/sched/signal/sig_releasependingsignal.c b/nuttx/sched/signal/sig_releasependingsignal.c
index f97009807..17a52eeba 100644
--- a/nuttx/sched/signal/sig_releasependingsignal.c
+++ b/nuttx/sched/signal/sig_releasependingsignal.c
@@ -1,7 +1,7 @@
/************************************************************************
* sched/signal/sig_releasependingsignal.c
*
- * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,13 +42,13 @@
#include <unistd.h>
#include <signal.h>
#include <time.h>
-#include <wdog.h>
#include <assert.h>
#include <debug.h>
#include <sched.h>
-#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
+#include <nuttx/kmalloc.h>
#include "signal/signal.h"
diff --git a/nuttx/sched/signal/sig_removependingsignal.c b/nuttx/sched/signal/sig_removependingsignal.c
index 37d7239d2..b34cc6c82 100644
--- a/nuttx/sched/signal/sig_removependingsignal.c
+++ b/nuttx/sched/signal/sig_removependingsignal.c
@@ -1,7 +1,7 @@
/************************************************************************
* sched/signal/sig_removependingsignal.c
*
- * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -42,13 +42,13 @@
#include <unistd.h>
#include <signal.h>
#include <time.h>
-#include <wdog.h>
#include <assert.h>
#include <debug.h>
#include <sched.h>
-#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
+#include <nuttx/kmalloc.h>
#include "signal/signal.h"
diff --git a/nuttx/sched/signal/sig_timedwait.c b/nuttx/sched/signal/sig_timedwait.c
index e592f8e2e..66d4ccd05 100644
--- a/nuttx/sched/signal/sig_timedwait.c
+++ b/nuttx/sched/signal/sig_timedwait.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/signal/sig_timedwait.c
*
- * Copyright (C) 2007-2009, 2012-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2012-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,13 +44,13 @@
#include <string.h>
#include <signal.h>
#include <time.h>
-#include <wdog.h>
#include <assert.h>
#include <debug.h>
#include <sched.h>
#include <errno.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "sched/sched.h"
#include "signal/signal.h"
diff --git a/nuttx/sched/task/task_recover.c b/nuttx/sched/task/task_recover.c
index 00085cd29..797a75605 100644
--- a/nuttx/sched/task/task_recover.c
+++ b/nuttx/sched/task/task_recover.c
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/task/task_recover.c
*
- * Copyright (C) 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -39,9 +39,8 @@
#include <nuttx/config.h>
-#include <wdog.h>
-
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include <nuttx/sched.h>
#include "mqueue/mqueue.h"
diff --git a/nuttx/sched/timer/timer.h b/nuttx/sched/timer/timer.h
index 4ecbe7973..53a5ed349 100644
--- a/nuttx/sched/timer/timer.h
+++ b/nuttx/sched/timer/timer.h
@@ -1,7 +1,7 @@
/********************************************************************************
* sched/timer/timer.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,9 +44,9 @@
#include <sys/types.h>
#include <stdint.h>
-#include <wdog.h>
#include <nuttx/compiler.h>
+#include <nuttx/wdog.h>
/********************************************************************************
* Definitions
diff --git a/nuttx/sched/timer/timer_create.c b/nuttx/sched/timer/timer_create.c
index 7b68cee84..71a83546f 100644
--- a/nuttx/sched/timer/timer_create.c
+++ b/nuttx/sched/timer/timer_create.c
@@ -1,7 +1,7 @@
/********************************************************************************
* sched/timer/timer_create.c
*
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -43,9 +43,9 @@
#include <unistd.h>
#include <time.h>
#include <string.h>
-#include <wdog.h>
#include <errno.h>
+#include <nuttx/wdog.h>
#include <nuttx/kmalloc.h>
#include "timer/timer.h"
diff --git a/nuttx/sched/wdog/wd_cancel.c b/nuttx/sched/wdog/wd_cancel.c
index 44fc95ab4..9749eccb6 100644
--- a/nuttx/sched/wdog/wd_cancel.c
+++ b/nuttx/sched/wdog/wd_cancel.c
@@ -41,8 +41,9 @@
#include <stdbool.h>
#include <assert.h>
-#include <wdog.h>
+
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "sched/sched.h"
#include "wdog/wdog.h"
diff --git a/nuttx/sched/wdog/wd_create.c b/nuttx/sched/wdog/wd_create.c
index fb57d86b1..2e71ceac7 100644
--- a/nuttx/sched/wdog/wd_create.c
+++ b/nuttx/sched/wdog/wd_create.c
@@ -40,10 +40,10 @@
#include <nuttx/config.h>
#include <stdbool.h>
-#include <wdog.h>
#include <queue.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include <nuttx/kmalloc.h>
#include "wdog/wdog.h"
diff --git a/nuttx/sched/wdog/wd_delete.c b/nuttx/sched/wdog/wd_delete.c
index a98caa20e..b13ed427e 100644
--- a/nuttx/sched/wdog/wd_delete.c
+++ b/nuttx/sched/wdog/wd_delete.c
@@ -39,12 +39,12 @@
#include <nuttx/config.h>
-#include <wdog.h>
#include <queue.h>
#include <assert.h>
#include <errno.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include <nuttx/kmalloc.h>
#include "wdog/wdog.h"
diff --git a/nuttx/sched/wdog/wd_gettime.c b/nuttx/sched/wdog/wd_gettime.c
index 4f69bfeb9..e9d85d077 100644
--- a/nuttx/sched/wdog/wd_gettime.c
+++ b/nuttx/sched/wdog/wd_gettime.c
@@ -39,7 +39,7 @@
#include <nuttx/config.h>
-#include <wdog.h>
+#include <nuttx/wdog.h>
#include "wdog/wdog.h"
diff --git a/nuttx/sched/wdog/wd_start.c b/nuttx/sched/wdog/wd_start.c
index 009a5d5ee..608b1445c 100644
--- a/nuttx/sched/wdog/wd_start.c
+++ b/nuttx/sched/wdog/wd_start.c
@@ -42,13 +42,13 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdarg.h>
-#include <wdog.h>
#include <unistd.h>
#include <sched.h>
#include <assert.h>
#include <errno.h>
#include <nuttx/arch.h>
+#include <nuttx/wdog.h>
#include "sched/sched.h"
#include "wdog/wdog.h"
diff --git a/nuttx/sched/wdog/wdog.h b/nuttx/sched/wdog/wdog.h
index 73a73f1ad..63d0d1584 100644
--- a/nuttx/sched/wdog/wdog.h
+++ b/nuttx/sched/wdog/wdog.h
@@ -44,9 +44,9 @@
#include <stdint.h>
#include <stdbool.h>
-#include <wdog.h>
#include <nuttx/compiler.h>
+#include <nuttx/wdog.h>
/************************************************************************
* Pre-processor Definitions