[alsa-devel] [PATCH 1/3] ascenario: Fix typedef for snd_scenario_t

Stefan Schmidt stefan at datenfreihafen.org
Tue Oct 6 19:08:47 CEST 2009


Hello.

On Tue, 2009-10-06 at 18:04, Takashi Iwai wrote:
> At Tue,  6 Oct 2009 17:54:29 +0200,
> Stefan Schmidt wrote:
> > 
> > From: Stefan Schmidt <stefan at slimlogic.co.uk>
> > 
> > Signed-off-by: Stefan Schmidt <stefan at slimlogic.co.uk>
> > ---
> >  include/ascenario.h |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/include/ascenario.h b/include/ascenario.h
> > index 003eabe..0c5acb9 100644
> > --- a/include/ascenario.h
> > +++ b/include/ascenario.h
> > @@ -128,7 +128,7 @@ extern "C" {
> >  #define SND_SCN_INT_QOS				1
> >  
> >  /** Scenario container */
> > -typedef snd_scenario_t snd_scenario_t;
> > +typedef struct _snd_scenario_t snd_scenario_t;
> 
> I would define like
> 
>   typedef struct snd_scenario snd_scenario_t;

Fine with me. I just followed what I have seen in control.h here. Will send an
updated set tomorrow which will have this fixed.

regards
Stefan Schmidt


More information about the Alsa-devel mailing list