From ccaeb4aca09491cfc44176aee98366a1d3a67d0a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 1 Jan 2021 09:27:54 -0800 Subject: [PATCH] libc-config: port to Sun C 5.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lib/libc-config.h (libc_hidden_proto): Omit ", ..." in macro definition. It’s not needed for Gnulib and elicits a diagnostic from Sun C 5.9 Patch 124867-12 2009/11/22. --- ChangeLog | 7 +++++++ lib/libc-config.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 69ca053dfe..c4c44e291e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-01-01 Paul Eggert + + libc-config: port to Sun C 5.9 + * lib/libc-config.h (libc_hidden_proto): Omit ", ..." in macro + definition. It’s not needed for Gnulib and elicits a diagnostic + from Sun C 5.9 Patch 124867-12 2009/11/22. + 2021-01-01 Bruno Haible quotearg tests: Avoid test failures on Solaris 11. diff --git a/lib/libc-config.h b/lib/libc-config.h index 227e9f84c7..dff0b3ed8d 100644 --- a/lib/libc-config.h +++ b/lib/libc-config.h @@ -171,7 +171,7 @@ /* A substitute for glibc , good enough for Gnulib. */ #define attribute_hidden -#define libc_hidden_proto(name, ...) +#define libc_hidden_proto(name) #define libc_hidden_def(name) #define libc_hidden_weak(name) #define libc_hidden_ver(local, name) -- 2.39.5