diff --git a/kernel/main.c b/kernel/main.c index 0e13d42..29a0a2e 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -678,7 +678,7 @@ STATIC VOID InitSerialPorts(VOID) booted from HD */ -EmulatedDriveStatus(int drive,char statusOnly) +STATIC int EmulatedDriveStatus(int drive,char statusOnly) { iregs r; char buffer[0x13]; diff --git a/sys/sys.c b/sys/sys.c index ee402fe..3cb984c 100644 --- a/sys/sys.c +++ b/sys/sys.c @@ -455,7 +455,7 @@ int abswrite(int DosDrive, int nsects, int foo, void *diskReadPacket); modify [si di] \ value [ax]; -fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno); +int fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno); #pragma aux fat32readwrite = \ "mov ax, 0x7305" \ "mov cx, 0xffff" \