Skip to contentSkip to conversation

axfer: Declare global variables as 'extern' in header

DISCUSSION GitHub pull_request - opened 1 participant 1 message Apr 21, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils pull request #14 was opened from smaeul:

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.

Request URL : https://github.com/alsa-project/alsa-utils/pull/14
Patch URL : https://github.com/alsa-project/alsa-utils/pull/14.patch
Repository URL: https://github.com/alsa-project/alsa-utils