From 4b14cf4c3fa99fe5341f482cbe57058a87197d41 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 16 Jun 2023 00:01:07 -0400 Subject: [PATCH] libcdecl: Avoid stray semicolon after gl_once_define. For some weird reason the gnulib gl_once_define function-like macro expansion includes the semicolon. Thus, the extra semicolon after the macro invocation is technically a syntax error, although most compilers seem to not care too much. --- src/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.c b/src/error.c index ef9e475..5466d39 100644 --- a/src/error.c +++ b/src/error.c @@ -31,7 +31,7 @@ #include "errmsg.h" -gl_once_define(static, tls_initialized); +gl_once_define(static, tls_initialized) static gl_tls_key_t tls_key; struct err_state { -- 2.43.2