diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-08-31 16:18:35 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-08-31 16:18:35 +0200 |
| commit | c4e08ec3777b78b6f788eec6737524cc5e856107 (patch) | |
| tree | b7e5392ba339d86c14d965059aa93149f506d45e /include/output.h | |
| parent | 030e4354efdf28bfee5614a78ff0dbd1a6acecf7 (diff) | |
| download | small-utils-c4e08ec3777b78b6f788eec6737524cc5e856107.tar.gz small-utils-c4e08ec3777b78b6f788eec6737524cc5e856107.tar.bz2 | |
rename output.h to trace_macros.h
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 - |
