]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/winnt.h (GetCurrentFiber): Make "external __inline" or asm code will
authorChristopher Faylor <me@cgf.cx>
Mon, 9 Apr 2001 00:52:35 +0000 (00:52 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 9 Apr 2001 00:52:35 +0000 (00:52 +0000)
be included in every module which includes this header.
(GetFiberData): Ditto.

winsup/w32api/ChangeLog
winsup/w32api/include/winnt.h

index 4083ef92d119858a4b795525e3117db4957d2ffb..305830472202a922536c2aa4acc0aa59dc020c82 100644 (file)
@@ -1,3 +1,8 @@
+Sun Apr  8 20:48:01 2001  Christopher Faylor <cgf@cygnus.com>
+
+       * include/winnt.h (GetCurrentFiber): Make "external __inline" or asm
+       code will be included in every module which includes this header.
+       (GetFiberData): Ditto.
 
 2001-04-08  Earnie Boyd  <earnie@users.sourceforge.net>
 
index ba89358eab95336738123a8537ed3c7f69e9943c..1165426b69bbce2c44876ab0ba99c68bb8c146f0 100644 (file)
@@ -2499,22 +2499,22 @@ typedef struct _REPARSE_POINT_INFORMATION {
        WORD   ReparseDataLength;
        WORD   UnparsedNameLength;
 } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
-__inline PVOID GetCurrentFiber(void)
+extern __inline PVOID GetCurrentFiber(void)
 {
     void* ret;
-    __asm__ volatile ("
-             movl      %%fs:0x10,%0
-             movl      (%0),%0
+    __asm__ volatile ("\n\
+             movl      %%fs:0x10,%0\n\
+             movl      (%0),%0\n\
              " : "=r" (ret) /* allow use of reg eax, ebx, ecx, edx, esi, edi */
                :
              );
     return ret;
 }
-__inline PVOID GetFiberData(void)
+extern __inline PVOID GetFiberData(void)
 {
     void* ret;
-    __asm__ volatile ("
-             movl      %%fs:0x10,%0
+    __asm__ volatile ("\n\
+             movl      %%fs:0x10,%0\n\
              " : "=r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
                :
                );
This page took 0.037583 seconds and 5 git commands to generate.