Author: tkreuzer
Date: Sat Jun 18 12:24:13 2011
New Revision: 52331
URL:
http://svn.reactos.org/svn/reactos?rev=52331&view=rev
Log:
[CRT]
- Fix a typo
[DDK/XDK]
Fix declaration of KDEFERRED_ROUTINE
Patch by Thomas Faber
Modified:
trunk/reactos/include/ddk/wdm.h
trunk/reactos/include/xdk/ketypes.h
trunk/reactos/lib/sdk/crt/printf/streamout.c
Modified: trunk/reactos/include/ddk/wdm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=5233…
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Sat Jun 18 12:24:13 2011
@@ -1204,11 +1204,12 @@
#endif /* defined(_AMD64_) */
typedef VOID
-(NTAPI *PKDEFERRED_ROUTINE)(
+(NTAPI KDEFERRED_ROUTINE)(
IN struct _KDPC *Dpc,
IN PVOID DeferredContext OPTIONAL,
IN PVOID SystemArgument1 OPTIONAL,
IN PVOID SystemArgument2 OPTIONAL);
+typedef KDEFERRED_ROUTINE *PKDEFERRED_ROUTINE;
typedef enum _KDPC_IMPORTANCE {
LowImportance,
Modified: trunk/reactos/include/xdk/ketypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/ketypes.h?rev=…
==============================================================================
--- trunk/reactos/include/xdk/ketypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/ketypes.h [iso-8859-1] Sat Jun 18 12:24:13 2011
@@ -640,11 +640,12 @@
#endif /* defined(_AMD64_) */
typedef VOID
-(NTAPI *PKDEFERRED_ROUTINE)(
+(NTAPI KDEFERRED_ROUTINE)(
IN struct _KDPC *Dpc,
IN PVOID DeferredContext OPTIONAL,
IN PVOID SystemArgument1 OPTIONAL,
IN PVOID SystemArgument2 OPTIONAL);
+typedef KDEFERRED_ROUTINE *PKDEFERRED_ROUTINE;
typedef enum _KDPC_IMPORTANCE {
LowImportance,
@@ -1017,7 +1018,7 @@
typedef enum _TIMER_SET_INFORMATION_CLASS {
TimerSetCoalescableTimer,
- MaxTimerInfoClass
+ MaxTimerInfoClass
} TIMER_SET_INFORMATION_CLASS;
#if (NTDDI_VERSION >= NTDDI_WIN7)
Modified: trunk/reactos/lib/sdk/crt/printf/streamout.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/printf/streamo…
==============================================================================
--- trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/printf/streamout.c [iso-8859-1] Sat Jun 18 12:24:13 2011
@@ -73,7 +73,7 @@
#ifndef _USER32_WSPRINTF
void
-#ifdef _LIBCNT
+#ifdef _LIBCNT_
/* Due to restrictions in kernel mode regarding the use of floating point,
we prevent it from being inlined */
__declspec(noinline)