* include/winnt.h (GetCurrentFiber): Remove blank input field

in asm code.
	(GetFiberData): Likewise.
This commit is contained in:
Danny Smith 2003-01-02 23:30:27 +00:00
parent 6283f02c25
commit c7ceb003b2
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,9 @@
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (GetCurrentFiber): Remove blank input field in
asm code.
(GetFiberData): Likewise.
2003-01-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/winerror.h (ERROR_DIFFERENT_SERVICE_ACCOUNT,

View File

@ -2672,10 +2672,9 @@ extern __inline__ PVOID GetCurrentFiber(void)
{
void* ret;
__asm__ volatile (
"movl %%fs:0x10,%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
:
);
"movl %%fs:0x10,%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
);
return ret;
}
@ -2684,11 +2683,10 @@ extern __inline__ PVOID GetFiberData(void)
{
void* ret;
__asm__ volatile (
"movl %%fs:0x10,%0\n"
"movl (%0),%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
:
);
"movl %%fs:0x10,%0\n"
"movl (%0),%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
);
return ret;
}