axfer: Declare global variables as 'extern' in header

This avoids multiple definitions of the same global variable (one in
each file that includes this header), and fixes a linking error when
compiled with -fno-common.

Fixes: 96110793b3 ("axfer: add support for a container of raw data")

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Samuel Holland 2019-04-20 19:13:20 -05:00 committed by Jaroslav Kysela
parent 60f78865d3
commit c43a62114a

View file

@ -120,7 +120,7 @@ extern const struct container_builder container_builder_au;
extern const struct container_parser container_parser_voc;
extern const struct container_builder container_builder_voc;
const struct container_parser container_parser_raw;
const struct container_builder container_builder_raw;
extern const struct container_parser container_parser_raw;
extern const struct container_builder container_builder_raw;
#endif