projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
086a1df
)
Cleanup libgm2/libm2iso/RTco.cc
author
Gaius Mulley
<gaiusmod2@gmail.com>
Mon, 13 Feb 2023 19:06:36 +0000
(19:06 +0000)
committer
Gaius Mulley
<gaiusmod2@gmail.com>
Mon, 13 Feb 2023 19:06:36 +0000
(19:06 +0000)
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>
libgm2/libm2iso/RTco.cc
patch
|
blob
|
history
diff --git
a/libgm2/libm2iso/RTco.cc
b/libgm2/libm2iso/RTco.cc
index eeb38106f12a7f04b3a1a90d17c93a62a6af19a6..0a0f1c03a99a8a73afcc5c24c52b5f1a34c0404d 100644
(file)
--- 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