ole32: fix missing-declarations warnings
Stefan Huehner
stefan at huehner.org
Sun Jul 24 06:28:19 CDT 2005
Hi,
patch makes some functions static to fix warnings
ChangeLog:
- fix some missing-declarations warnings
Regards,
Stefan
-------------- next part --------------
Index: dlls/ole32/storage32.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/storage32.c,v
retrieving revision 1.90
diff -u -p -r1.90 storage32.c
--- dlls/ole32/storage32.c 7 Jul 2005 17:21:44 -0000 1.90
+++ dlls/ole32/storage32.c 24 Jul 2005 11:09:32 -0000
@@ -6404,7 +6404,7 @@ static DWORD GetCreationModeFromSTGM(DWO
*
* Memory allocated for pData must be freed by the caller
*/
-HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *pData, BOOL bStrem1)
+static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *pData, BOOL bStrem1)
{
DWORD dwSize;
HRESULT hRes = S_OK;
@@ -6572,7 +6572,7 @@ HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM
* This function is used by OleConvertIStorageToOLESTREAM only.
*
*/
-HRESULT OLECONVERT_SaveOLE10(OLECONVERT_OLESTREAM_DATA *pData, LPOLESTREAM pOleStream)
+static HRESULT OLECONVERT_SaveOLE10(OLECONVERT_OLESTREAM_DATA *pData, LPOLESTREAM pOleStream)
{
DWORD dwSize;
HRESULT hRes = S_OK;
@@ -6683,7 +6683,7 @@ HRESULT OLECONVERT_SaveOLE10(OLECONVERT_
*
*
*/
-void OLECONVERT_GetOLE20FromOLE10(LPSTORAGE pDestStorage, BYTE *pBuffer, DWORD nBufferLength)
+static void OLECONVERT_GetOLE20FromOLE10(LPSTORAGE pDestStorage, BYTE *pBuffer, DWORD nBufferLength)
{
HRESULT hRes;
HANDLE hFile;
@@ -6733,7 +6733,7 @@ void OLECONVERT_GetOLE20FromOLE10(LPSTOR
* Used by OleConvertIStorageToOLESTREAM only.
*
*/
-DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
+static DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
{
HANDLE hFile;
HRESULT hRes;
@@ -7149,7 +7149,7 @@ HRESULT OLECONVERT_CreateCompObjStream(L
* This function is used by OleConvertOLESTREAMToIStorage only.
*
*/
-void OLECONVERT_CreateOlePresStream(LPSTORAGE pStorage, DWORD dwExtentX, DWORD dwExtentY , BYTE *pData, DWORD dwDataLength)
+static void OLECONVERT_CreateOlePresStream(LPSTORAGE pStorage, DWORD dwExtentX, DWORD dwExtentY , BYTE *pData, DWORD dwDataLength)
{
HRESULT hRes;
IStream *pStream;
@@ -7233,7 +7233,7 @@ void OLECONVERT_CreateOlePresStream(LPST
* Might need to verify the data and return appropriate error message
*
*/
-void OLECONVERT_CreateOle10NativeStream(LPSTORAGE pStorage, BYTE *pData, DWORD dwDataLength)
+static void OLECONVERT_CreateOle10NativeStream(LPSTORAGE pStorage, BYTE *pData, DWORD dwDataLength)
{
HRESULT hRes;
IStream *pStream;
@@ -7272,7 +7272,7 @@ void OLECONVERT_CreateOle10NativeStream(
*
*
*/
-HRESULT OLECONVERT_GetOLE10ProgID(LPSTORAGE pStorage, char *strProgID, DWORD *dwSize)
+static HRESULT OLECONVERT_GetOLE10ProgID(LPSTORAGE pStorage, char *strProgID, DWORD *dwSize)
{
HRESULT hRes;
IStream *pStream;
@@ -7342,7 +7342,7 @@ HRESULT OLECONVERT_GetOLE10ProgID(LPSTOR
*
*
*/
-void OLECONVERT_GetOle10PresData(LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
+static void OLECONVERT_GetOle10PresData(LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
{
HRESULT hRes;
@@ -7395,7 +7395,7 @@ void OLECONVERT_GetOle10PresData(LPSTORA
*
* Memory allocated for pData must be freed by the caller
*/
-void OLECONVERT_GetOle20PresData(LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
+static void OLECONVERT_GetOle20PresData(LPSTORAGE pStorage, OLECONVERT_OLESTREAM_DATA *pOleStreamData)
{
HRESULT hRes;
IStream *pStream;
More information about the wine-patches
mailing list