* 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 69ca053df..c4c44e291 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-01-01  Paul Eggert  <egg...@cs.ucla.edu>
+
+       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  <br...@clisp.org>
 
        quotearg tests: Avoid test failures on Solaris 11.
diff --git a/lib/libc-config.h b/lib/libc-config.h
index 227e9f84c..dff0b3ed8 100644
--- a/lib/libc-config.h
+++ b/lib/libc-config.h
@@ -171,7 +171,7 @@
 
 /* A substitute for glibc <libc-symbols.h>, 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.27.0


Reply via email to