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