diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-01-02 23:30:27 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-01-02 23:30:27 +0000 |
commit | c7ceb003b2cde3262d8c629055b1d61fec7a6780 (patch) | |
tree | 6972cc905892597cf996b80300a29c84111433c0 /winsup/w32api/include/winnt.h | |
parent | 6283f02c2574a0183da6f62c5884958d88e946bf (diff) | |
download | cygnal-c7ceb003b2cde3262d8c629055b1d61fec7a6780.tar.gz cygnal-c7ceb003b2cde3262d8c629055b1d61fec7a6780.tar.bz2 cygnal-c7ceb003b2cde3262d8c629055b1d61fec7a6780.zip |
* include/winnt.h (GetCurrentFiber): Remove blank input field
in asm code.
(GetFiberData): Likewise.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r-- | winsup/w32api/include/winnt.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 1eb305afe..2079086c4 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -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; } |