strmbase: Remove duplicate 'const' in strmbase.h

Michael Stefaniuc mstefani at redhat.de
Tue Nov 2 18:59:04 CDT 2010


---
Of course if both pointer value as well as the data pointed at need to
be const then the second const needs to move after the "*".



 dlls/strmbase/dllfunc.c |    2 +-
 include/wine/strmbase.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/strmbase/dllfunc.c b/dlls/strmbase/dllfunc.c
index 35e373f..adb5655 100644
--- a/dlls/strmbase/dllfunc.c
+++ b/dlls/strmbase/dllfunc.c
@@ -136,7 +136,7 @@ static HRESULT SetupRegisterAllClasses(const FactoryTemplate * pList, int num,
     return hr;
 }
 
-HRESULT WINAPI AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER const * pFilter, IFilterMapper2  *pIFM2, BOOL  bRegister)
+HRESULT WINAPI AMovieSetupRegisterFilter2(const AMOVIESETUP_FILTER *pFilter, IFilterMapper2  *pIFM2, BOOL  bRegister)
 {
     if (!pFilter)
         return S_OK;
diff --git a/include/wine/strmbase.h b/include/wine/strmbase.h
index 21b6dfc..e79ab37 100644
--- a/include/wine/strmbase.h
+++ b/include/wine/strmbase.h
@@ -311,7 +311,7 @@ typedef struct tagFactoryTemplate {
 } FactoryTemplate;
 
 HRESULT WINAPI AMovieDllRegisterServer2(BOOL bRegister);
-HRESULT WINAPI AMovieSetupRegisterFilter2( const AMOVIESETUP_FILTER const * pFilter, IFilterMapper2  *pIFM2, BOOL  bRegister);
+HRESULT WINAPI AMovieSetupRegisterFilter2(const AMOVIESETUP_FILTER *pFilter, IFilterMapper2  *pIFM2, BOOL  bRegister);
 
 /* Dll Functions */
 BOOL WINAPI STRMBASE_DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv);
-- 
1.7.3.2



More information about the wine-patches mailing list