summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-12-17 14:39:25 +0100
committerGuillem Jover <guillem@hadrons.org>2009-12-18 11:56:45 +0100
commit0ae79e6cd9d4ab5d70ae399850bb804991b92c94 (patch)
tree92289e7c3c7f662029a29c87c326c92ab9435bef /i386/i386at
parent2cd448b2a65df4d81950f9d5bd2389add9d1b8da (diff)
Interrupt handlers do not return any value
* i386/i386at/kd_mouse.c (kd_mouse_open): Change kdintr return type to `void'. (oldvect): Change return type to `void'. * linux/dev/arch/i386/kernel/irq.c (linux_timer_intr): Likewise. (intnull, prtnull, linux_intr, linux_bad_intr): Likewise. (old_clock_handler): Likewise.
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/kd_mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/kd_mouse.c b/i386/i386at/kd_mouse.c
index 0b4acc2..640209c 100644
--- a/i386/i386at/kd_mouse.c
+++ b/i386/i386at/kd_mouse.c
@@ -93,7 +93,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "kd_mouse.h"
-static int (*oldvect)(); /* old interrupt vector */
+static void (*oldvect)(); /* old interrupt vector */
static int oldunit;
static spl_t oldspl;
extern struct bus_device *cominfo[];
@@ -256,7 +256,7 @@ kd_mouse_open(dev, mouse_pic)
int mouse_pic;
{
spl_t s = splhi(); /* disable interrupts */
- extern int kdintr();
+ extern void kdintr();
oldvect = ivect[mouse_pic];
ivect[mouse_pic] = kdintr;