summaryrefslogtreecommitdiff
path: root/i386/i386at/kd_mouse.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-14 13:27:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-15 02:18:50 +0100
commit5d58d71777f0f82598135088be8a7400965b7a53 (patch)
tree4511712564ec8561c4fedc6e3f62516ad22ebc34 /i386/i386at/kd_mouse.c
parent3ec46ece13c33805ad6f4fd991a70f14be4e8e78 (diff)
i386/i386at/kd_mouse.c: remove register qualifiers
* i386/i386at/kd_mouse.c: Remove register qualifiers.
Diffstat (limited to 'i386/i386at/kd_mouse.c')
-rw-r--r--i386/i386at/kd_mouse.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/i386/i386at/kd_mouse.c b/i386/i386at/kd_mouse.c
index 6e7b68a..99fc266 100644
--- a/i386/i386at/kd_mouse.c
+++ b/i386/i386at/kd_mouse.c
@@ -323,11 +323,11 @@ boolean_t mouse_read_done(); /* forward */
int
mouseread(dev, ior)
- dev_t dev;
- register io_req_t ior;
+ dev_t dev;
+ io_req_t ior;
{
- register int err, count;
- register spl_t s;
+ int err, count;
+ spl_t s;
/* Check if IO_COUNT is a multiple of the record size. */
if (ior->io_count % sizeof(kd_event) != 0)
@@ -350,7 +350,7 @@ mouseread(dev, ior)
}
count = 0;
while (!kdq_empty(&mouse_queue) && count < ior->io_count) {
- register kd_event *ev;
+ kd_event *ev;
ev = kdq_get(&mouse_queue);
*(kd_event *)(&ior->io_data[count]) = *ev;
@@ -362,10 +362,10 @@ mouseread(dev, ior)
}
boolean_t mouse_read_done(ior)
- register io_req_t ior;
+ io_req_t ior;
{
- register int count;
- register spl_t s;
+ int count;
+ spl_t s;
s = SPLKD();
if (kdq_empty(&mouse_queue)) {
@@ -377,7 +377,7 @@ boolean_t mouse_read_done(ior)
count = 0;
while (!kdq_empty(&mouse_queue) && count < ior->io_count) {
- register kd_event *ev;
+ kd_event *ev;
ev = kdq_get(&mouse_queue);
*(kd_event *)(&ior->io_data[count]) = *ev;
@@ -809,7 +809,7 @@ mouse_enqueue(ev)
kdq_put(&mouse_queue, ev);
{
- register io_req_t ior;
+ io_req_t ior;
while ((ior = (io_req_t)dequeue_head(&mouse_read_queue)) != 0)
iodone(ior);
}