From 05f3cde3e7924c9ffcc1937661b3cc290d89c11a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 7 Sep 2024 17:53:27 +0200 Subject: Initial bootstrap --- inc/log.h | 11 +++++++++++ 1 file changed, 11 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..5910305 --- /dev/null +++ b/inc/log.h @@ -0,0 +1,11 @@ +// Copyright (c) 2024, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef LOG_H +#define LOG_H + +void debug(const char *format, ...); +void debug_enable(int enable); +void fatal(const char *format, ...) __attribute__((noreturn)); + +#endif -- cgit v1.2.3