diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-02-13 19:06:36 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-02-13 19:06:36 +0000 |
commit | 296cf77b78b5c95069a9c07a2919d82438db2fba (patch) | |
tree | db4761849613acb8784b69274e2d833402efbac4 | |
parent | 086a1df4374962787db37c1f0d1bd9beb828f9e3 (diff) | |
download | gcc-296cf77b78b5c95069a9c07a2919d82438db2fba.zip gcc-296cf77b78b5c95069a9c07a2919d82438db2fba.tar.gz gcc-296cf77b78b5c95069a9c07a2919d82438db2fba.tar.bz2 |
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 <gaiusmod2@gmail.com>
-rw-r--r-- | libgm2/libm2iso/RTco.cc | 3 |
1 files changed, 1 insertions, 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 |