xref: /OK3568_Linux_fs/buildroot/package/gettext-gnu/0001-error_print_progname.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[Updated to apply cleanly with 0.20.1]
2Signed-off-by: Adam Duskett <Aduskett@gmail.com>
3---
4diff --git a/gettext-tools/gnulib-lib/error.h b/gettext-tools/gnulib-lib/error.h
5index 61771cc..4221684 100644
6--- a/gettext-tools/gnulib-lib/error.h
7+++ b/gettext-tools/gnulib-lib/error.h
8@@ -68,7 +68,10 @@ extern void error_at_line (int __status, int __errnum, const char *__fname,
9 /* If NULL, error will flush stdout, then print on stderr the program
10    name, a colon and a space.  Otherwise, error will call this
11    function without parameters instead.  */
12-extern DLL_VARIABLE void (*error_print_progname) (void);
13+#ifndef __UCLIBC__
14+extern DLL_VARIABLE
15+#endif
16+void (*error_print_progname) (void);
17
18 /* This variable is incremented each time 'error' is called.  */
19 extern DLL_VARIABLE unsigned int error_message_count;
20--
21