mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 13:11:11 +03:00
Gave vsprintf.c its own header file, and made console.h include it.
This commit is contained in:
14
src/include/vsprintf.h
Normal file
14
src/include/vsprintf.h
Normal 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 */
|
||||
Reference in New Issue
Block a user