From b11cf48853bc4eccde60bc82180025f0797fa823 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 3 Aug 2025 15:29:48 +0100 Subject: Use shorter spellings of __asm and __attribute Turns out, there's no need for the trailing underscores. Plus, glibc does some stupid stuff with __attribute__ for non-GCC compilers. Not that that matters here, but it seems like a good practice just to use the forms that never have such problems. And it's shorter too. --- src/sst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sst.c') diff --git a/src/sst.c b/src/sst.c index f1b8241..25e396c 100644 --- a/src/sst.c +++ b/src/sst.c @@ -508,7 +508,7 @@ static void hook_plugin_unload_cbv2(const struct con_cmdargs *args) { // thanks clang for forcing use of return here and ALSO warning! #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wpedantic" - __attribute__((musttail)) return orig_plugin_unload_cb.v2(args); + __attribute((musttail)) return orig_plugin_unload_cb.v2(args); #pragma clang diagnostic pop #else #error We are tied to clang without an assembly solution for this! -- cgit v1.2.3-54-g00ecf