bugfix for winnt.h

Teun Burgers a.rburgers@freeler.nl
Thu Nov 1 15:30:00 GMT 2001


This patch fixes a compilation warning in winnt.h that
comes with cygwin. The warning occurs when you compile with
-Wmissing-prototypes.

See the following URL for some more information:

http://sources.redhat.com/ml/cygwin/2001-04/msg01735.html

regards

Teun Burgers

--- winnt.h.orig        Mon Nov 12 21:09:26 2001
+++ winnt.h     Mon Nov 12 21:09:44 2001
@@ -2517,6 +2517,7 @@
        WORD   ReparseDataLength;
        WORD   UnparsedNameLength;
 } REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
+extern __inline__ PVOID GetCurrentFiber(void);
 extern __inline__ PVOID GetCurrentFiber(void)
 {
     void* ret;
@@ -2528,6 +2529,7 @@
     return ret;
 }

+extern __inline__ PVOID GetFiberData(void);
 extern __inline__ PVOID GetFiberData(void)
 {
     void* ret;

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list