From: Baptiste Daroussin Date: Thu, 20 Oct 2022 10:53:45 +0000 (+0200) Subject: Fix build with modern compilers X-Git-Tag: RELEASE_1_4_0a1~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b10a4dbdade3f3aca78f836241f8f91485ffbb;p=thirdparty%2Fmlmmj.git Fix build with modern compilers --- diff --git a/include/mlmmj.h b/include/mlmmj.h index 4db3339f..bf440647 100644 --- a/include/mlmmj.h +++ b/include/mlmmj.h @@ -81,7 +81,7 @@ enum subtype { SUB_NONE /* For when an address is not subscribed at all */ }; -char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */ +extern char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */ enum subreason { SUB_REQUEST, @@ -92,7 +92,7 @@ enum subreason { SUB_SWITCH }; -char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */ +extern char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */ void print_version(const char *prg);