Add prototypes for [v]snprintf

git-svn-id: svn://coreboot.org/openbios/openbios-devel@191 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-07-07 18:37:24 +00:00
parent 3409ec8b13
commit 33b784951f

View File

@@ -18,7 +18,11 @@
#define _H_VSPRINTF #define _H_VSPRINTF
#include <stdarg.h> #include <stdarg.h>
#include "openbios/config.h"
extern int vsprintf(char *buf, const char *fmt, va_list args ); extern int vsprintf(char *buf, const char *fmt, va_list args );
extern int sprintf(char * buf, const char *fmt, ...); extern int sprintf(char * buf, const char *fmt, ...);
extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
extern int snprintf(char * buf, size_t size, const char *fmt, ...);
#endif /* _H_VSPRINTF */ #endif /* _H_VSPRINTF */