summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/lib/kernel32.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/lib/kernel32.c')
-rw-r--r--winsup/w32api/lib/kernel32.c16
1 files changed, 7 insertions, 9 deletions
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;
}