]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: Declare global variables as 'extern' in header
authorSamuel Holland <samuel@sholland.org>
Sun, 21 Apr 2019 00:13:20 +0000 (19:13 -0500)
committerJaroslav Kysela <perex@perex.cz>
Tue, 7 May 2019 06:30:25 +0000 (08:30 +0200)
commitc43a62114ac0f49af4d54a7559afac89c7f54618
treeeb710d4638c75f8c51bc51c52e249b337a980e9c
parent60f78865d305a90195167e2148a0ee20f9e17628
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: 96110793b3e5 ("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>
axfer/container.h