diff options
Diffstat (limited to 'include/output.h')
| -rw-r--r-- | include/output.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/output.h b/include/output.h deleted file mode 100644 index 366e3c4..0000000 --- a/include/output.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: Apache-2.0 */ - -/* Copyright 2025 Thorsten Töpper - * - * vim:ts=4:sw=4:expandtab - */ -#ifndef OUTPUT_H -#define OUTPUT_H - -#include <stdio.h> - -#ifndef LOGERR -#define LOGERR(...) {fprintf(stderr, "[%s:%d] %s: ", __FILE__, __LINE__, __func__); fprintf(stderr, __VA_ARGS__);} -#endif - -#ifdef DEBUGBUILD -#define DBGTRC(...) LOGERR(__VA_ARGS__) -#else -#define DBGTRC(...) -#endif - -#endif - |
