ntdll: Remove WINAPI on static functions where not needed.
Francois Gouget
fgouget at codeweavers.com
Wed Nov 26 10:15:40 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/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;
--
1.5.6.5
More information about the wine-patches
mailing list