aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-08-28 16:10:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-08-28 16:10:40 +0000
commit219d8d1ec90984f9b00dcbad070895577172aee0 (patch)
treeae19f65c2d7c5102e26707a3105dc2d6e9c8903b /os/kernel/include
parent8c6f1ef33876c873ddfac7297879a8f8c69fb46e (diff)
downloadChibiOS-219d8d1ec90984f9b00dcbad070895577172aee0.tar.gz
ChibiOS-219d8d1ec90984f9b00dcbad070895577172aee0.tar.bz2
ChibiOS-219d8d1ec90984f9b00dcbad070895577172aee0.zip
Fixed more warnings from GCC 4.4.x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1116 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include')
-rw-r--r--os/kernel/include/scheduler.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/os/kernel/include/scheduler.h b/os/kernel/include/scheduler.h
index 648cb7bc5..d29b92ae6 100644
--- a/os/kernel/include/scheduler.h
+++ b/os/kernel/include/scheduler.h
@@ -64,13 +64,10 @@
* @extends ThreadsQueue
*/
typedef struct {
- Thread *p_next; /**< Next @p Thread in the ready list.*/
- Thread *p_prev; /**< Previous @p Thread in the ready
- list.*/
- /* End of the fields shared with the ThreadsQueue structure. */
+ ThreadsQueue r_queue; /**< Next @p Threads queue.*/
tprio_t r_prio; /**< This field must be initialized to
zero.*/
- /* End of the fields shared with the Thread structure. */
+ /* End of the fields shared with the Thread structure.*/
#if CH_USE_ROUNDROBIN
cnt_t r_preempt; /**< Round robin counter.*/
#endif