wineoss: Remove WINAPI on static functions where not needed.

Francois Gouget fgouget at codeweavers.com
Mon Nov 24 10:24:29 CST 2008


---

If you know other places where the functions touched by this patch 
are used, please let me know. For more details, see:   

http://www.winehq.org/pipermail/wine-patches/2008-November/064995.html


 dlls/wineoss.drv/dscapture.c |    8 ++++----
 dlls/wineoss.drv/dsrender.c  |   36 ++++++++++++++++++------------------
 2 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/dlls/wineoss.drv/dscapture.c b/dlls/wineoss.drv/dscapture.c
index e474936..e058c26 100644
--- a/dlls/wineoss.drv/dscapture.c
+++ b/dlls/wineoss.drv/dscapture.c
@@ -138,11 +138,11 @@ struct IDsCaptureDriverBufferImpl
     int                                 fd;
 };
 
-static HRESULT WINAPI IDsCaptureDriverPropertySetImpl_Create(
+static HRESULT IDsCaptureDriverPropertySetImpl_Create(
     IDsCaptureDriverBufferImpl * dscdb,
     IDsCaptureDriverPropertySetImpl **pdscdps);
 
-static HRESULT WINAPI IDsCaptureDriverNotifyImpl_Create(
+static HRESULT IDsCaptureDriverNotifyImpl_Create(
     IDsCaptureDriverBufferImpl * dsdcb,
     IDsCaptureDriverNotifyImpl **pdscdn);
 
@@ -1232,7 +1232,7 @@ static const IDsCaptureDriverVtbl dscdvt =
     IDsCaptureDriverImpl_CreateCaptureBuffer
 };
 
-static HRESULT WINAPI IDsCaptureDriverPropertySetImpl_Create(
+static HRESULT IDsCaptureDriverPropertySetImpl_Create(
     IDsCaptureDriverBufferImpl * dscdb,
     IDsCaptureDriverPropertySetImpl **pdscdps)
 {
@@ -1255,7 +1255,7 @@ static HRESULT WINAPI IDsCaptureDriverPropertySetImpl_Create(
     return DS_OK;
 }
 
-static HRESULT WINAPI IDsCaptureDriverNotifyImpl_Create(
+static HRESULT IDsCaptureDriverNotifyImpl_Create(
     IDsCaptureDriverBufferImpl * dscdb,
     IDsCaptureDriverNotifyImpl **pdscdn)
 {
diff --git a/dlls/wineoss.drv/dsrender.c b/dlls/wineoss.drv/dsrender.c
index 563f86d..57e3dd1 100644
--- a/dlls/wineoss.drv/dsrender.c
+++ b/dlls/wineoss.drv/dsrender.c
@@ -132,11 +132,11 @@ struct IDsDriverBufferImpl
     IDsDriverPropertySetImpl*   property_set;
 };
 
-static HRESULT WINAPI IDsDriverPropertySetImpl_Create(
+static HRESULT IDsDriverPropertySetImpl_Create(
     IDsDriverBufferImpl * dsdb,
     IDsDriverPropertySetImpl **pdsdps);
 
-static HRESULT WINAPI IDsDriverNotifyImpl_Create(
+static HRESULT IDsDriverNotifyImpl_Create(
     IDsDriverBufferImpl * dsdb,
     IDsDriverNotifyImpl **pdsdn);
 
@@ -765,13 +765,13 @@ static HRESULT WINAPI IDsDriverImpl_GetCaps(PIDSDRIVER iface, PDSDRIVERCAPS pCap
     return DS_OK;
 }
 
-static HRESULT WINAPI DSD_CreatePrimaryBuffer(PIDSDRIVER iface,
-                                              LPWAVEFORMATEX pwfx,
-                                              DWORD dwFlags,
-                                              DWORD dwCardAddress,
-                                              LPDWORD pdwcbBufferSize,
-                                              LPBYTE *ppbBuffer,
-                                              LPVOID *ppvObj)
+static HRESULT DSD_CreatePrimaryBuffer(PIDSDRIVER iface,
+                                       LPWAVEFORMATEX pwfx,
+                                       DWORD dwFlags,
+                                       DWORD dwCardAddress,
+                                       LPDWORD pdwcbBufferSize,
+                                       LPBYTE *ppbBuffer,
+                                       LPVOID *ppvObj)
 {
     IDsDriverImpl *This = (IDsDriverImpl *)iface;
     IDsDriverBufferImpl** ippdsdb = (IDsDriverBufferImpl**)ppvObj;
@@ -832,13 +832,13 @@ static HRESULT WINAPI DSD_CreatePrimaryBuffer(PIDSDRIVER iface,
     return DS_OK;
 }
 
-static HRESULT WINAPI DSD_CreateSecondaryBuffer(PIDSDRIVER iface,
-                                                LPWAVEFORMATEX pwfx,
-                                                DWORD dwFlags,
-                                                DWORD dwCardAddress,
-                                                LPDWORD pdwcbBufferSize,
-                                                LPBYTE *ppbBuffer,
-                                                LPVOID *ppvObj)
+static HRESULT DSD_CreateSecondaryBuffer(PIDSDRIVER iface,
+                                         LPWAVEFORMATEX pwfx,
+                                         DWORD dwFlags,
+                                         DWORD dwCardAddress,
+                                         LPDWORD pdwcbBufferSize,
+                                         LPBYTE *ppbBuffer,
+                                         LPVOID *ppvObj)
 {
     IDsDriverImpl *This = (IDsDriverImpl *)iface;
     IDsDriverBufferImpl** ippdsdb = (IDsDriverBufferImpl**)ppvObj;
@@ -886,7 +886,7 @@ static const IDsDriverVtbl dsdvt =
     IDsDriverImpl_DuplicateSoundBuffer
 };
 
-static HRESULT WINAPI IDsDriverPropertySetImpl_Create(
+static HRESULT IDsDriverPropertySetImpl_Create(
     IDsDriverBufferImpl * dsdb,
     IDsDriverPropertySetImpl **pdsdps)
 {
@@ -909,7 +909,7 @@ static HRESULT WINAPI IDsDriverPropertySetImpl_Create(
     return DS_OK;
 }
 
-static HRESULT WINAPI IDsDriverNotifyImpl_Create(
+static HRESULT IDsDriverNotifyImpl_Create(
     IDsDriverBufferImpl * dsdb,
     IDsDriverNotifyImpl **pdsdn)
 {
-- 
1.5.6.5




More information about the wine-patches mailing list