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
This commit is contained in:
Bart Oldeman 2004-05-04 09:35:44 +00:00
parent 5a6e1845a8
commit 99c40acc80
1 changed files with 1 additions and 1 deletions

View File

@ -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