Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BF02E76.8ACB2E09@freeler.nl> Date: Mon, 12 Nov 2001 21:17:58 +0100 From: Teun Burgers X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com, gnuwin32 AT users DOT sourceforge DOT net Subject: bugfix for winnt.h Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/