From e6ff0ce6926fa921a13055c9c35d8e60b691e776 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 11 Sep 2024 17:01:49 +0200 Subject: Finished table refactor --- tools/tool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools/tool.h') diff --git a/tools/tool.h b/tools/tool.h index d75342d..7995621 100644 --- a/tools/tool.h +++ b/tools/tool.h @@ -18,6 +18,16 @@ log_stderr(const char *str, ...) va_end(args); } +static void +write_stdout(const char *str, ...) +{ + va_list args; + + va_start(args, str); + vfprintf(stdout, str, args); + va_end(args); +} + static double timerun(void (*run)(void), char *name) { -- cgit v1.3