From 655f505485af73a5b82289a10e1ea5727c83dea1 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Sun, 23 Aug 2026 06:59:24 +0000 Subject: core: Add trace_fatal() macro Signed-off-by: Chloe M. --- head/defconf/trace.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 head/defconf/trace.h (limited to 'head') diff --git a/head/defconf/trace.h b/head/defconf/trace.h new file mode 100644 index 0000000..30f2184 --- /dev/null +++ b/head/defconf/trace.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2026, Apollo Telephone Laboratories. + * Provided under the BSD-3 clause. + */ + +#ifndef DEFCONF_TRACE_H +#define DEFCONF_TRACE_H 1 + +#include + +#define trace_fatal(state, fmt, ...) \ + printf("fatal: " fmt, ##__VA_ARGS__) + +#endif /* !DEFCONF_TRACE_H */ -- cgit v1.2.3