https://git.savannah.gnu.org/cgit/texinfo.git/patch/?id=952b333db85f88fb51c7e051b15063d95cf7dfc8 https://lists.gnu.org/archive/html/bug-texinfo/2022-12/msg00034.html https://bugs.gentoo.org/863713 From 952b333db85f88fb51c7e051b15063d95cf7dfc8 Mon Sep 17 00:00:00 2001 From: Gavin Smith Date: Sat, 10 Dec 2022 01:10:38 +0000 Subject: =?UTF-8?q?*=20install-info/install-info.c=20(error):=20Declare=20?= =?UTF-8?q?as=20static=20to=20avoid=20clash=20with=20error=20function=20fr?= =?UTF-8?q?om=20glibc,=20called=20from=20gnulib.=20Report=20from=20Sam=20J?= =?UTF-8?q?ames=20=20and=20suggested=20solution=20from=20A?= =?UTF-8?q?rsen=20Arsenovi=C4=87=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a/install-info/install-info.c +++ b/install-info/install-info.c @@ -214,7 +214,9 @@ vdiag (const char *fmt, const char *diagtype, va_list ap) putc ('\n', stderr); } -void +/* declare as static to avoid clash with glibc error function, called from + gnulib. */ +static void error (const char *fmt, ...) { va_list ap; -- cgit v1.1