xref: /netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/error.h.diff (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*** gnulib/lib/error.h	2005-05-14 08:03:58.000000000 +0200
2--- srclib/error.h	2005-05-20 23:06:02.000000000 +0200
3***************
4*** 50,63 ****
5  /* If NULL, error will flush stdout, then print on stderr the program
6     name, a colon and a space.  Otherwise, error will call this
7     function without parameters instead.  */
8! extern void (*error_print_progname) (void);
9
10  /* This variable is incremented each time `error' is called.  */
11! extern unsigned int error_message_count;
12
13  /* Sometimes we want to have at most one error per line.  This
14     variable controls whether this mode is selected or not.  */
15! extern int error_one_per_line;
16
17  #ifdef	__cplusplus
18  }
19--- 50,63 ----
20  /* If NULL, error will flush stdout, then print on stderr the program
21     name, a colon and a space.  Otherwise, error will call this
22     function without parameters instead.  */
23! extern DLL_VARIABLE void (*error_print_progname) (void);
24
25  /* This variable is incremented each time `error' is called.  */
26! extern DLL_VARIABLE unsigned int error_message_count;
27
28  /* Sometimes we want to have at most one error per line.  This
29     variable controls whether this mode is selected or not.  */
30! extern DLL_VARIABLE int error_one_per_line;
31
32  #ifdef	__cplusplus
33  }
34