mirror of https://github.com/FDOS/kernel.git
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:
parent
e4b6c0e63c
commit
ed009bd3eb
|
@ -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);
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue