]> Savannah Git Hosting - gnulib.git/commitdiff
libc-config: port to Sun C 5.9
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Jan 2021 17:27:54 +0000 (09:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Jan 2021 17:28:26 +0000 (09:28 -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
lib/libc-config.h

index 69ca053dfe1e3eff722f5001d6ce645c4493022d..c4c44e291ed1128d7bd5f400a768038525baff7a 100644 (file)
--- 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.
index 227e9f84c7144228bce3d7fd3654855819821927..dff0b3ed8dd3a0921c524879d4914dc0766d88ef 100644 (file)
 
 /* 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)