From 75c40090e9302e11fc32863270360ef597a93933 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 30 May 2023 13:10:00 +0200 Subject: Initial bootstrapping --- 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..335320f --- /dev/null +++ b/inc/log.h @@ -0,0 +1,11 @@ +// Copyright (c) 2023, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef SHARING_LOG_H +#define SHARING_LOG_H + +void debug(const char *format, ...); +void debug_enable(int enable); +void fatal(const char *format, ...) __attribute__((noreturn)); + +#endif -- cgit v1.2.3