Gave vsprintf.c its own header file, and made console.h include it.

This commit is contained in:
Michael Brown
2005-04-17 10:44:26 +00:00
parent 063140864e
commit 664ffea697
3 changed files with 19 additions and 1 deletions

14
src/include/vsprintf.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef VSPRINTF_H
#define VSPRINTF_H
/*
* Note that we cannot use __attribute__ (( format ( printf, ... ) ))
* to get automatic type checking on arguments, because we use
* non-standard format characters such as "%!" and "%@".
*
*/
extern int sprintf ( char *buf, const char *fmt, ... );
extern void printf ( const char *fmt, ... );
#endif /* VSPRINTF_H */