Commit 1103059e authored by Evan Ramos's avatar Evan Ramos

Fix mismatch of initprintf and initputs signatures in compat_tools object

parent b89e16fb
......@@ -9,17 +9,19 @@ extern "C" {
//
// initprintf() -- prints a string
//
void initprintf(const char *f, ...)
int initprintf(const char *f, ...)
{
va_list va;
char buf[2048];
va_start(va, f);
Bvsnprintf(buf, sizeof(buf), f, va);
int len = Bvsnprintf(buf, sizeof(buf), f, va);
va_end(va);
return len;
}
int initputs (const char * str) { return puts(str); }
void initputs (const char * str) { puts(str); }
int16_t editstatus = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment