~vcs-imports/alsa-utils/trunk

Viewing all changes in revision 1469.

  • Committer: Jaroslav Kysela
  • Author(s): Samuel Holland
  • Date: 2019-05-07 06:30:25 UTC
  • Revision ID: git-v1:c43a62114ac0f49af4d54a7559afac89c7f54618
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: