diff --git a/sys/fdkrncfg.c b/sys/fdkrncfg.c index 55daef2..0f37481 100644 --- a/sys/fdkrncfg.c +++ b/sys/fdkrncfg.c @@ -24,8 +24,8 @@ char KERNEL[] = "KERNEL.SYS"; #include #include "portab.h" -extern int VA_CDECL printf(const char * fmt, ...); -extern int VA_CDECL sprintf(char * buff, const char * fmt, ...); +extern int VA_CDECL printf(const char FAR * fmt, ...); +extern int VA_CDECL sprintf(char FAR * buff, const char FAR * fmt, ...); #ifdef __WATCOMC__ unsigned _dos_close(int handle); diff --git a/sys/sys.c b/sys/sys.c index 14353e3..dacbf2b 100644 --- a/sys/sys.c +++ b/sys/sys.c @@ -75,8 +75,8 @@ * #including to make executable MUCH smaller * using [s]printf from prf.c! */ -extern int VA_CDECL printf(const char * fmt, ...); -extern int VA_CDECL sprintf(char * buff, const char * fmt, ...); +extern int VA_CDECL printf(const char FAR * fmt, ...); +extern int VA_CDECL sprintf(char FAR * buff, const char FAR * fmt, ...); #include "fat12com.h" #include "fat16com.h"