From 99c40acc8036c6b7dce7991a7caf468a4b7c1700 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Tue, 4 May 2004 09:35:44 +0000 Subject: [PATCH] Replaced setvec macro by a function. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@920 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/init-mod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/init-mod.h b/kernel/init-mod.h index 782a0a9..05fae04 100644 --- a/kernel/init-mod.h +++ b/kernel/init-mod.h @@ -100,7 +100,7 @@ char * ASMPASCAL strchr(const char *s, int ch); extern BYTE DosLoadedInHMA; void MoveKernel(unsigned NewKernelSegment); -#define setvec(n, isr) (void)(*(intvec FAR *)MK_FP(0,4 * (n)) = (isr)) +void setvec(unsigned char intno, intvec vector); #define getvec(n) (*(intvec FAR *)MK_FP(0,4 * (n))) #define GLOBAL extern