This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bugfix for winnt.h


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]