diff options
| author | Chloe M. <chloe@aptel.org> | 2026-08-23 06:59:24 +0000 |
|---|---|---|
| committer | Chloe M. <chloe@aptel.org> | 2026-08-23 06:59:24 +0000 |
| commit | 655f505485af73a5b82289a10e1ea5727c83dea1 (patch) | |
| tree | 89792b8550391cf65b93ba23fe3b42d2690628bd /head | |
| parent | 9bf5da82de7c19360c291d990814128a7b86c92e (diff) | |
core: Add trace_fatal() macro
Signed-off-by: Chloe M. <chloe@aptel.org>
Diffstat (limited to 'head')
| -rw-r--r-- | head/defconf/trace.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <stdio.h> + +#define trace_fatal(state, fmt, ...) \ + printf("fatal: " fmt, ##__VA_ARGS__) + +#endif /* !DEFCONF_TRACE_H */ |
