This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
bugfix for winnt.h
- To: cygwin at sources dot redhat dot com, gnuwin32 at users dot sourceforge dot net
- Subject: bugfix for winnt.h
- From: Teun Burgers <a dot rburgers at freeler dot nl>
- Date: Mon, 12 Nov 2001 21:17:58 +0100
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/