diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:02:54 +0100 |
commit | 1a81c796689a01b00bc5aea0b3bd3fd672530798 (patch) | |
tree | 07a56408f742c6d97f5406c1c9e735b1cb8ab8f1 /i386/i386at/kd_queue.c | |
parent | f4963a52e96230374826137cce44813c94853e6f (diff) |
i386: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'i386/i386at/kd_queue.c')
-rw-r--r-- | i386/i386at/kd_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/kd_queue.c b/i386/i386at/kd_queue.c index 2b83044..2086eb1 100644 --- a/i386/i386at/kd_queue.c +++ b/i386/i386at/kd_queue.c @@ -72,14 +72,14 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. boolean_t kdq_empty(q) - kd_event_queue *q; + const kd_event_queue *q; { return(q->firstfree == q->firstout); } boolean_t kdq_full(q) - kd_event_queue *q; + const kd_event_queue *q; { return(q_next(q->firstfree) == q->firstout); } |