QUARTZ: make functions static, fix declarations
Mike McCormack
mike at codeweavers.com
Mon Jun 20 11:44:58 CDT 2005
ChangeLog:
* make functions static, fix declarations
-------------- next part --------------
Index: dlls/quartz/control.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/control.c,v
retrieving revision 1.3
diff -u -p -r1.3 control.c
--- dlls/quartz/control.c 8 Sep 2004 01:50:37 -0000 1.3
+++ dlls/quartz/control.c 20 Jun 2005 16:46:53 -0000
@@ -163,7 +163,7 @@ HRESULT WINAPI MediaSeekingImpl_ConvertT
return E_INVALIDARG;
}
-__inline LONGLONG Adjust(LONGLONG value, LONGLONG * pModifier, DWORD dwFlags)
+static inline LONGLONG Adjust(LONGLONG value, LONGLONG * pModifier, DWORD dwFlags)
{
switch (dwFlags & AM_SEEKING_PositioningBitsMask)
{
Index: dlls/quartz/enummedia.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/enummedia.c,v
retrieving revision 1.8
diff -u -p -r1.8 enummedia.c
--- dlls/quartz/enummedia.c 5 Jun 2005 19:18:34 -0000 1.8
+++ dlls/quartz/enummedia.c 20 Jun 2005 16:46:53 -0000
@@ -50,7 +50,7 @@ void FreeMediaType(AM_MEDIA_TYPE * pMedi
}
}
-AM_MEDIA_TYPE * CreateMediaType(AM_MEDIA_TYPE const * pSrc)
+static AM_MEDIA_TYPE * CreateMediaType(AM_MEDIA_TYPE const * pSrc)
{
AM_MEDIA_TYPE * pDest;
Index: dlls/quartz/enummoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/enummoniker.c,v
retrieving revision 1.11
diff -u -p -r1.11 enummoniker.c
--- dlls/quartz/enummoniker.c 6 Jun 2005 19:50:36 -0000 1.11
+++ dlls/quartz/enummoniker.c 20 Jun 2005 16:46:53 -0000
@@ -21,16 +21,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdarg.h>
-
#define COBJMACROS
#define COM_NO_WINDOWS_H
-#include "windef.h"
-#include "winbase.h"
-#include "winuser.h"
-#include "ole2.h"
-#include "strmif.h"
+#include "quartz_private.h"
#include "wine/debug.h"
Index: dlls/quartz/filesource.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/filesource.c,v
retrieving revision 1.15
diff -u -p -r1.15 filesource.c
--- dlls/quartz/filesource.c 6 Jun 2005 19:50:36 -0000 1.15
+++ dlls/quartz/filesource.c 20 Jun 2005 16:46:53 -0000
@@ -677,7 +677,7 @@ typedef struct DATAREQUEST
struct DATAREQUEST * pNext; /* next data request in list */
} DATAREQUEST;
-void queue(DATAREQUEST * pHead, DATAREQUEST * pItem)
+static void queue(DATAREQUEST * pHead, DATAREQUEST * pItem)
{
DATAREQUEST * pCurrent;
for (pCurrent = pHead; pCurrent->pNext; pCurrent = pCurrent->pNext)
Index: dlls/quartz/transform.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/transform.c,v
retrieving revision 1.5
diff -u -p -r1.5 transform.c
--- dlls/quartz/transform.c 5 Jun 2005 19:18:34 -0000 1.5
+++ dlls/quartz/transform.c 20 Jun 2005 16:46:53 -0000
@@ -146,7 +146,7 @@ static HRESULT TransformFilter_InputPin_
return E_FAIL;
}
-HRESULT TransformFilter_OutputPin_Construct(const PIN_INFO * pPinInfo, ALLOCATOR_PROPERTIES *props, LPVOID pUserData, QUERYACCEPTPROC pQueryAccept, LPCRITICAL_SECTION pCritSec, IPin ** ppPin)
+static HRESULT TransformFilter_OutputPin_Construct(const PIN_INFO * pPinInfo, ALLOCATOR_PROPERTIES *props, LPVOID pUserData, QUERYACCEPTPROC pQueryAccept, LPCRITICAL_SECTION pCritSec, IPin ** ppPin)
{
OutputPin * pPinImpl;
@@ -497,7 +497,7 @@ static const IBaseFilterVtbl TransformFi
TransformFilter_QueryVendorInfo
};
-HRESULT WINAPI TransformFilter_InputPin_EndOfStream(IPin * iface)
+static HRESULT WINAPI TransformFilter_InputPin_EndOfStream(IPin * iface)
{
InputPin* This = (InputPin*) iface;
TransformFilterImpl* pTransform;
@@ -545,7 +545,7 @@ static const IPinVtbl TransformFilter_In
InputPin_NewSegment
};
-HRESULT WINAPI TransformFilter_Output_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
+static HRESULT WINAPI TransformFilter_Output_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
{
IPinImpl *This = (IPinImpl *)iface;
ENUMMEDIADETAILS emd;
@@ -558,7 +558,7 @@ HRESULT WINAPI TransformFilter_Output_En
return IEnumMediaTypesImpl_Construct(&emd, ppEnum);
}
-HRESULT WINAPI TransformFilter_Output_Disconnect(IPin * iface)
+static HRESULT WINAPI TransformFilter_Output_Disconnect(IPin * iface)
{
OutputPin* This = (OutputPin*)iface;
HRESULT hr;
More information about the wine-patches
mailing list