From: Gaius Mulley Date: Mon, 13 Feb 2023 19:06:36 +0000 (+0000) Subject: Cleanup libgm2/libm2iso/RTco.cc X-Git-Tag: upstream/13.1.0~1276 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=296cf77b78b5c95069a9c07a2919d82438db2fba;p=platform%2Fupstream%2Fgcc.git 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 --- 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