diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:51 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:17:13 +0900 |
commit | 835ca96b6e9fa43f3f655f676777670085814537 (patch) | |
tree | 907981459fee6694ba6b5dd3490ed2c99ea43b9d | |
parent | 4bcaa65e3269f8b5d18d182999a5e81b2694c1a0 (diff) |
i386/i386at/kd_event.c: remove forward declarations
* i386/i386at/kd_event.c (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Remove forward declarations.
* i386/i386at/kd_event.h (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Add prototypes.
-rw-r--r-- | i386/i386at/kd_event.c | 8 | ||||
-rw-r--r-- | i386/i386at/kd_event.h | 7 |
2 files changed, 7 insertions, 8 deletions
diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c index 3a216c0..db14225 100644 --- a/i386/i386at/kd_event.c +++ b/i386/i386at/kd_event.c @@ -83,11 +83,6 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. kd_event_queue kbd_queue; /* queue of keyboard events */ queue_head_t kbd_read_queue = { &kbd_read_queue, &kbd_read_queue }; - -void kbd_enqueue(); -io_return_t X_kdb_enter_init(); -io_return_t X_kdb_exit_init(); - static boolean_t initialized = FALSE; @@ -201,9 +196,6 @@ io_return_t kbdsetstat(dev, flavor, data, count) /* * kbdread - dequeue and return any queued events. */ - -boolean_t kbd_read_done(); /* forward */ - int kbdread(dev, ior) dev_t dev; diff --git a/i386/i386at/kd_event.h b/i386/i386at/kd_event.h index d2e5123..f1295cb 100644 --- a/i386/i386at/kd_event.h +++ b/i386/i386at/kd_event.h @@ -48,4 +48,11 @@ extern io_return_t kbdsetstat( extern void kd_enqsc(Scancode sc); +void kbd_enqueue(kd_event *ev); + +io_return_t X_kdb_enter_init(u_int *data, u_int count); +io_return_t X_kdb_exit_init(u_int *data, u_int count); + +boolean_t kbd_read_done(io_req_t ior); + #endif /* _KD_EVENT_H_ */ |