net-mail/mlmmj: tweak for gcc-10, bug #
[gentoo.git] / net-mail / mlmmj / files / mlmmj-1.3.0-gcc-10.patch
1 --- a/include/mlmmj.h
2 +++ b/include/mlmmj.h
3 @@ -81,7 +81,7 @@ enum subtype {
4         SUB_NONE /* For when an address is not subscribed at all */
5  };
6  
7 -char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
8 +extern char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
9  
10  enum subreason {
11         SUB_REQUEST,
12 @@ -92,7 +92,7 @@ enum subreason {
13         SUB_SWITCH
14  };
15  
16 -char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
17 +extern char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
18  
19  void print_version(const char *prg);
20