aboutsummaryrefslogtreecommitdiff
path: root/tools/tool.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tool.h')
-rw-r--r--tools/tool.h10
1 files changed, 10 insertions, 0 deletions
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, ...)
18 va_end(args); 18 va_end(args);
19} 19}
20 20
21static void
22write_stdout(const char *str, ...)
23{
24 va_list args;
25
26 va_start(args, str);
27 vfprintf(stdout, str, args);
28 va_end(args);
29}
30
21static double 31static double
22timerun(void (*run)(void), char *name) 32timerun(void (*run)(void), char *name)
23{ 33{

Generated with cgit - Back to sebastiano.tronto.net