[3/3] bfin: avoid gcc extension using __VA_ARGS__

Message ID d6c991ed-f6ce-4e57-9192-2ba6549fc771@suse.com
State New
Headers
Series avoid gcc extension using __VA_ARGS__ |

Commit Message

Jan Beulich Dec. 5, 2025, 1:33 p.m. UTC
  We shouldn't be using extensions when we don't have a suitable fallback in
place. For cases where there's no argument wanted, OUTS() already exists.
  

Patch

--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -486,7 +486,7 @@  static const enum machine_registers deco
 #ifndef OUTS
 #define OUTS(p, txt) (p)->fprintf_func ((p)->stream, "%s", txt)
 #endif
-#define OUT(p, txt, ...) (p)->fprintf_func ((p)->stream, txt, ## __VA_ARGS__)
+#define OUT(p, txt, ...) (p)->fprintf_func ((p)->stream, txt, __VA_ARGS__)
 
 static void
 amod0 (int s0, int x0, disassemble_info *outf)