openwrt/package/libs/gettext-full/patches/003-gettext-error_print_progname.patch

12 lines
540 B
Diff
Raw Normal View History

--- a/gettext-tools/libgettextpo/error.h
+++ b/gettext-tools/libgettextpo/error.h
@@ -68,7 +68,7 @@ extern void error_at_line (int __status,
/* If NULL, error will flush stdout, then print on stderr the program
name, a colon and a space. Otherwise, error will call this
function without parameters instead. */
-extern DLL_VARIABLE void (*error_print_progname) (void);
+void (*error_print_progname) (void);
/* This variable is incremented each time 'error' is called. */
extern DLL_VARIABLE unsigned int error_message_count;