From eef250dd4a0ae185a8d9d668f020b2ab5c2f4849 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 29 Aug 2021 13:54:31 +0200 Subject: Start x86 rewrite --- inc/log.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 inc/log.h (limited to 'inc/log.h') diff --git a/inc/log.h b/inc/log.h new file mode 100644 index 0000000..ae55c17 --- /dev/null +++ b/inc/log.h @@ -0,0 +1,10 @@ +#ifndef LOG_H +#define LOG_H + +void __logln(const char *func, const char *format, ...); +void __errln(const char *func, const char *format, ...); + +#define logln(format, ...) __logln(__func__, format, ##__VA_ARGS__) +#define errln(format, ...) __errln(__func__, format, ##__VA_ARGS__) + +#endif -- cgit v1.2.3