summaryrefslogtreecommitdiff
path: root/i386/i386at/kd_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/kd_queue.h')
-rw-r--r--i386/i386at/kd_queue.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/i386/i386at/kd_queue.h b/i386/i386at/kd_queue.h
index c976acfa..702efe8a 100644
--- a/i386/i386at/kd_queue.h
+++ b/i386/i386at/kd_queue.h
@@ -64,6 +64,9 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* /dev/mouse.
*/
+#ifndef _KD_QUEUE_H_
+#define _KD_QUEUE_H_
+
#include <mach/std_types.h>
#include <i386at/kd.h>
@@ -76,6 +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_ */