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

Takashi Iwai tiwai at suse.de
Tue Oct 6 18:04:15 CEST 2009


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;


Takashi


More information about the Alsa-devel mailing list