Lots of const correctness.

This commit is contained in:
Kees van Reeuwijk
2010-03-27 14:31:00 +00:00
parent 9192dbecc9
commit 98493805fd
41 changed files with 180 additions and 182 deletions

View File

@@ -176,7 +176,7 @@ struct proc {
/* Set flag and dequeue if the process was runnable. */
#define RTS_SET(rp, f) \
do { \
int rts = (rp)->p_rts_flags; \
const int rts = (rp)->p_rts_flags; \
(rp)->p_rts_flags |= (f); \
if(rts_f_is_runnable(rts) && !proc_is_runnable(rp)) { \
dequeue(rp); \