sync printf prototypes (uncorrupt executables)

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1162 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Kenneth J Davis 2005-11-30 21:59:18 +00:00
parent e4b6c0e63c
commit ed009bd3eb
2 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ char KERNEL[] = "KERNEL.SYS";
#include <fcntl.h> #include <fcntl.h>
#include "portab.h" #include "portab.h"
extern int VA_CDECL printf(const char * fmt, ...); extern int VA_CDECL printf(const char FAR * fmt, ...);
extern int VA_CDECL sprintf(char * buff, const char * fmt, ...); extern int VA_CDECL sprintf(char FAR * buff, const char FAR * fmt, ...);
#ifdef __WATCOMC__ #ifdef __WATCOMC__
unsigned _dos_close(int handle); unsigned _dos_close(int handle);

View File

@ -75,8 +75,8 @@
* #including <stdio.h> to make executable MUCH smaller * #including <stdio.h> to make executable MUCH smaller
* using [s]printf from prf.c! * using [s]printf from prf.c!
*/ */
extern int VA_CDECL printf(const char * fmt, ...); extern int VA_CDECL printf(const char FAR * fmt, ...);
extern int VA_CDECL sprintf(char * buff, const char * fmt, ...); extern int VA_CDECL sprintf(char FAR * buff, const char FAR * fmt, ...);
#include "fat12com.h" #include "fat12com.h"
#include "fat16com.h" #include "fat16com.h"