summaryrefslogtreecommitdiff
path: root/package/libs/gettext-full/patches/110-error_progname_def.patch
blob: bf01d4b6a3272398db8edf9397444816ab80fb7d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/gettext-tools/libgettextpo/error.h
+++ b/gettext-tools/libgettextpo/error.h
@@ -58,7 +58,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.  */
-void (*error_print_progname) (void);
+extern void (*error_print_progname) (void);
 
 /* This variable is incremented each time 'error' is called.  */
 extern DLL_VARIABLE unsigned int error_message_count;