aboutsummaryrefslogtreecommitdiffstats
path: root/trace.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-05-31 17:08:09 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-05-31 17:38:33 +0100
commita88ad680422949dfe2d16a544a529649c6d07109 (patch)
treedf4d9463a099d4b87cd0f201f80db5c5d628ffad /trace.h
parent13ceac75a8ed37ddc02df2b41627329c4da24b04 (diff)
downloadpack-a88ad680422949dfe2d16a544a529649c6d07109.tar.gz
pack-a88ad680422949dfe2d16a544a529649c6d07109.tar.xz
pack-a88ad680422949dfe2d16a544a529649c6d07109.zip
Update build system to the latest luiml version
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, ...);