From: Abramo Bagnara Date: Fri, 26 May 2000 17:58:24 +0000 (+0000) Subject: Removed warnings X-Git-Tag: v1.0.3~1254 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=4bb0a08bf9fcac19f0a96f2705aec943f31d5c70;p=alsa-lib.git Removed warnings --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 5a4bee4f..0bd53ca2 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include @@ -579,7 +580,7 @@ static assoc_t fmts[] = { static assoc_t starts[] = { START(GO), START(DATA), START(FULL), END }; static assoc_t xruns[] = { XRUN(FLUSH), XRUN(DRAIN), END }; static assoc_t fills[] = { FILL(NONE), FILL(SILENCE_WHOLE), FILL(SILENCE), END }; -static assoc_t onoff[] = { {0, "OFF"}, {1, "ON"}, {-1, "ON"}, END }; +static assoc_t onoff[] = { {0, "OFF", NULL}, {1, "ON", NULL}, {-1, "ON", NULL}, END }; int snd_pcm_dump_setup(snd_pcm_t *pcm, int channel, FILE *fp) {