From cca3ca9547f172875d75cbd357d1b9782d9d8dd2 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Mon, 15 Nov 2004 09:53:08 +0000 Subject: [PATCH] Don't use implicit int. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1062 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/main.c | 2 +- sys/sys.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" \