aboutsummaryrefslogtreecommitdiffstats
path: root/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace.h')
-rw-r--r--trace.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/trace.h b/trace.h
index 8dee696..3b3cfa1 100644
--- a/trace.h
+++ b/trace.h
@@ -1,15 +1,11 @@
/*
- * Copyright (C) 2020 Tomasz Kramkowski <tk@the-tk.com>
+ * Copyright (C) 2020-2021 Tomasz Kramkowski <tk@the-tk.com>
* SPDX-License-Identifier: MIT
*/
#ifndef PACK_TRACE_H
#define PACK_TRACE_H
-#ifdef DEVEL
#define ATTRIBUTE_FORMAT(type, fmt, args) __attribute__((format(type, fmt, args)))
-#else
-#define ATTRIBUTE_FORMAT(type, fmt, args)
-#endif
ATTRIBUTE_FORMAT(printf, 1, 2)
void tr_call(const char *fmt, ...);