aboutsummaryrefslogtreecommitdiff
path: root/tests/common/printf.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-30 18:56:49 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-30 18:56:49 +0300
commit1a2e1fff7ce4b8fd8db46549d81e71e76b842da3 (patch)
treee33fa259bf9de49e589dd1e75a95dcd09ad3bc97 /tests/common/printf.h
parentec30538a81c0e900797f4d88c1ee059afa7d9617 (diff)
downloadkmi-1a2e1fff7ce4b8fd8db46549d81e71e76b842da3.tar.gz
kmi-1a2e1fff7ce4b8fd8db46549d81e71e76b842da3.zip
add some basic benchmarks
Diffstat (limited to 'tests/common/printf.h')
-rw-r--r--tests/common/printf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/common/printf.h b/tests/common/printf.h
new file mode 100644
index 0000000..b6e50e5
--- /dev/null
+++ b/tests/common/printf.h
@@ -0,0 +1,8 @@
+#ifndef KMI_PRINTF_H
+#define KMI_PRINTF_H
+
+#include <kmi/attrs.h>
+
+int printf(const char *fmt, ...) __printf;
+
+#endif /* KMI_PRINTF_H */