aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-02 23:30:27 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-02 23:30:27 +0000
commitc7ceb003b2cde3262d8c629055b1d61fec7a6780 (patch)
tree6972cc905892597cf996b80300a29c84111433c0
parent6283f02c2574a0183da6f62c5884958d88e946bf (diff)
downloadnewlib-c7ceb003b2cde3262d8c629055b1d61fec7a6780.zip
newlib-c7ceb003b2cde3262d8c629055b1d61fec7a6780.tar.gz
newlib-c7ceb003b2cde3262d8c629055b1d61fec7a6780.tar.bz2
* include/winnt.h (GetCurrentFiber): Remove blank input field
in asm code. (GetFiberData): Likewise.
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/winnt.h16
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;
}