diff options
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/w32api/include/winnt.h | 16 |
2 files changed, 13 insertions, 9 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index deafa8c..e2356fa 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,11 @@ 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, ERROR_EXE_MACHINE_TYPE_MISMATCH, ERROR_HOOK_TYPE_NOT_ALLOWED, ERROR_INVALID_KEYBOARD_HANDLE, ERROR_INVALID_PRINT_MONITOR, diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index 1eb305a..2079086 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; } |