aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-12-01 09:11:42 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-12-01 09:11:42 +0000
commit635fa4ba48fb36f36f4b1d333320aedc6b28e132 (patch)
treeb3dcd743f97a72972b7330fdeca69b61dbc32d48 /winsup
parentb406ed7b51a9faa7bf3efaaefab51ecb67d7068b (diff)
downloadnewlib-635fa4ba48fb36f36f4b1d333320aedc6b28e132.zip
newlib-635fa4ba48fb36f36f4b1d333320aedc6b28e132.tar.gz
newlib-635fa4ba48fb36f36f4b1d333320aedc6b28e132.tar.bz2
* include/winnt.h (GetCurrentFiber): Remove duplicate prototype.
(GetFiberData); Likewise. (GetCurrentFiber): Change volatile to __volatile__. (GetFiberData); Likewise.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog7
-rw-r--r--winsup/w32api/include/winnt.h7
2 files changed, 9 insertions, 5 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index c4a02e7..7f2113f 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,10 @@
+2003-12-01 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/winnt.h (GetCurrentFiber): Remove duplicate prototype.
+ (GetFiberData); Likewise.
+ (GetCurrentFiber): Change volatile to __volatile__.
+ (GetFiberData); Likewise.
+
2003-11-27 Christopher Faylor <cgf@redhat.com>
* lib/Makefile.in: Use make function to locate .mri file to allow
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 17bfeb9..683d010 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -3281,13 +3281,10 @@ ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
#if defined(__GNUC__)
PVOID GetCurrentFiber(void);
-PVOID GetFiberData(void);
-
-PVOID GetCurrentFiber(void);
extern __inline__ PVOID GetCurrentFiber(void)
{
void* ret;
- __asm__ volatile (
+ __asm__ __volatile__ (
"movl %%fs:0x10,%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
);
@@ -3298,7 +3295,7 @@ PVOID GetFiberData(void);
extern __inline__ PVOID GetFiberData(void)
{
void* ret;
- __asm__ volatile (
+ __asm__ __volatile__ (
"movl %%fs:0x10,%0\n"
"movl (%0),%0"
: "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */