From c467d1396f3b7825c8925f1898f539ad491491b0 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Fri, 3 Jan 2003 00:04:21 +0000 Subject: * lib/kernel32.c (GetCurrentFiber): Remove blank input field in asm code. (GetFiberData): Likewise. --- winsup/w32api/lib/kernel32.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'winsup/w32api/lib/kernel32.c') diff --git a/winsup/w32api/lib/kernel32.c b/winsup/w32api/lib/kernel32.c index 53222588d..08ff86c25 100644 --- a/winsup/w32api/lib/kernel32.c +++ b/winsup/w32api/lib/kernel32.c @@ -6,10 +6,9 @@ void* 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; } @@ -17,11 +16,10 @@ void* 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; } -- cgit v1.2.3