mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
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:
parent
60f78865d3
commit
c43a62114a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue