bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] libc-config: port to Sun C 5.9


From: Paul Eggert
Subject: [PATCH] libc-config: port to Sun C 5.9
Date: Fri, 1 Jan 2021 09:28:40 -0800

* 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  <eggert@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  <bruno@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

[Prev in Thread] Current Thread [Next in Thread]