[pulseaudio-discuss] [PATCH] resampler: Remove duplicate forward declaration of pa_resampler

David Henningsson david.henningsson at canonical.com
Fri Aug 29 06:02:27 PDT 2014


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);
-- 
1.9.1



More information about the pulseaudio-discuss mailing list