[PATCH] resampler: Remove duplicate forward declaration of pa_resampler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2014-08-29 at 15:02 +0200, David Henningsson wrote:
> This duplicated line also caused a compiler warning on some compilers.
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  src/pulsecore/resampler.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/pulsecore/resampler.h b/src/pulsecore/resampler.h
> index e3463a2..5a84cf0 100644
> --- a/src/pulsecore/resampler.h
> +++ b/src/pulsecore/resampler.h
> @@ -32,8 +32,6 @@
>  typedef struct pa_resampler pa_resampler;
>  typedef struct pa_resampler_impl pa_resampler_impl;
>  
> -typedef struct pa_resampler pa_resampler;
> -
>  struct pa_resampler_impl {
>      void (*free)(pa_resampler *r);
>      void (*update_rates)(pa_resampler *r);

Looks good to me.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux