From 296cf77b78b5c95069a9c07a2919d82438db2fba Mon Sep 17 00:00:00 2001 From: Gaius Mulley Date: Mon, 13 Feb 2023 19:06:36 +0000 Subject: [PATCH] Cleanup libgm2/libm2iso/RTco.cc This patch removes the macro tprintf sizeof nop hack and replaces it with tprintf (...). libgm2/ChangeLog: * libm2iso/RTco.cc (tprintf): Replace definition. Signed-off-by: Gaius Mulley --- libgm2/libm2iso/RTco.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libgm2/libm2iso/RTco.cc b/libgm2/libm2iso/RTco.cc index eeb3810..0a0f1c0 100644 --- a/libgm2/libm2iso/RTco.cc +++ b/libgm2/libm2iso/RTco.cc @@ -60,8 +60,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined(TRACEON) #define tprintf printf #else -/* sizeof is not evaluated. */ -#define tprintf (void)sizeof +#define tprintf(...) #endif typedef struct threadCB_s -- 2.7.4