diff options
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/autoconf.c | 4 | ||||
-rw-r--r-- | i386/i386at/kd_event.c | 2 | ||||
-rw-r--r-- | i386/i386at/kd_queue.c | 4 | ||||
-rw-r--r-- | i386/i386at/kd_queue.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c index 31bb73c..908c3ec 100644 --- a/i386/i386at/autoconf.c +++ b/i386/i386at/autoconf.c @@ -122,7 +122,7 @@ void probeio(void) } void take_dev_irq( - struct bus_device *dev) + const struct bus_device *dev) { int pic = (int)dev->sysdep1; @@ -144,7 +144,7 @@ void take_dev_irq( } void take_ctlr_irq( - struct bus_ctlr *ctlr) + const struct bus_ctlr *ctlr) { int pic = ctlr->sysdep1; if (intpri[pic] == 0) { diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c index ac87b20..30a7f77 100644 --- a/i386/i386at/kd_event.c +++ b/i386/i386at/kd_event.c @@ -311,7 +311,7 @@ int X_kdb_enter_len = 0, X_kdb_exit_len = 0; void kdb_in_out(p) -u_int *p; +const u_int *p; { int t = p[0]; 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); } diff --git a/i386/i386at/kd_queue.h b/i386/i386at/kd_queue.h index bd3fc7b..702efe8 100644 --- a/i386/i386at/kd_queue.h +++ b/i386/i386at/kd_queue.h @@ -79,8 +79,8 @@ typedef struct { extern void kdq_put(kd_event_queue *, kd_event *); extern void kdq_reset(kd_event_queue *); -extern boolean_t kdq_empty(kd_event_queue *); -extern boolean_t kdq_full(kd_event_queue *); +extern boolean_t kdq_empty(const kd_event_queue *); +extern boolean_t kdq_full(const kd_event_queue *); extern kd_event *kdq_get(kd_event_queue *); #endif /* _KD_QUEUE_H_ */ |