Francois Gouget : ntdll: Remove WINAPI on static functions where not needed .

Alexandre Julliard julliard at winehq.org
Fri Nov 28 07:16:28 CST 2008


Module: wine
Branch: master
Commit: e72339561717c2705f3c15e91d3b06fad3b652b8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e72339561717c2705f3c15e91d3b06fad3b652b8

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Nov 26 17:15:40 2008 +0100

ntdll: Remove WINAPI on static functions where not needed.

---

 dlls/ntdll/rtlbitmap.c |    6 +++---
 dlls/ntdll/serial.c    |    8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/ntdll/rtlbitmap.c b/dlls/ntdll/rtlbitmap.c
index 55f8048..3656d24 100644
--- a/dlls/ntdll/rtlbitmap.c
+++ b/dlls/ntdll/rtlbitmap.c
@@ -948,9 +948,9 @@ ULONG WINAPI RtlFindLastBackwardRunClear(PCRTL_BITMAP lpBits, ULONG ulStart, PUL
  *
  * Internal implementation of RtlFindSetRuns/RtlFindClearRuns.
  */
-static ULONG WINAPI NTDLL_FindRuns(PCRTL_BITMAP lpBits, PRTL_BITMAP_RUN lpSeries,
-                                   ULONG ulCount, BOOLEAN bLongest,
-                                   ULONG (*fn)(PCRTL_BITMAP,ULONG,PULONG))
+static ULONG NTDLL_FindRuns(PCRTL_BITMAP lpBits, PRTL_BITMAP_RUN lpSeries,
+                            ULONG ulCount, BOOLEAN bLongest,
+                            ULONG (*fn)(PCRTL_BITMAP,ULONG,PULONG))
 {
   BOOL bNeedSort = ulCount > 1 ? TRUE : FALSE;
   ULONG ulPos = 0, ulRuns = 0;
diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c
index bdb47e4..edad40e 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -891,10 +891,10 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info)
 }
 
 
-static DWORD WINAPI check_events(int fd, DWORD mask, 
-                                 const serial_irq_info *new, 
-                                 const serial_irq_info *old,
-                                 DWORD new_mstat, DWORD old_mstat)
+static DWORD check_events(int fd, DWORD mask,
+                          const serial_irq_info *new,
+                          const serial_irq_info *old,
+                          DWORD new_mstat, DWORD old_mstat)
 {
     DWORD ret = 0, queue;
 




More information about the wine-cvs mailing list