Author: ros-arm-bringup
Date: Sat Jan 2 05:46:23 2010
New Revision: 44876
URL:
http://svn.reactos.org/svn/reactos?rev=44876&view=rev
Log:
[NTOS]: Fix stdCall macro to work with functions of zero parameters.
Modified:
trunk/reactos/ntoskrnl/include/internal/i386/callconv.s
Modified: trunk/reactos/ntoskrnl/include/internal/i386/callconv.s
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/callconv.s [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/callconv.s [iso-8859-1] Sat Jan 2
05:46:23 2010
@@ -23,10 +23,11 @@
cCount = 0
- .irp arg, \ArgList
- cCount = cCount+1
- .endr
-
+ .ifnb \ArgList
+ .irp arg, \ArgList
+ cCount = cCount+1
+ .endr
+ .endif
.endm
//