delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/12/17:17:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <a DOT rburgers AT freeler DOT nl>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019