From a90b8a20ed988808488962636b9c6c8665cb9413 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 26 Jun 2012 16:36:00 +0000 Subject: [PATCH] * winsup.h (GetLastError): Drop redundant definition. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/winsup.h | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f648f9b45..cacf5a4cb 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Corinna Vinschen + + * winsup.h (GetLastError): Drop redundant definition. + 2012-06-25 Christopher Faylor * cygwait.cc (cancelable_wait): Make sure that timer is cancelled diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index ddbe360e4..5c3660931 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -1,7 +1,7 @@ /* winsup.h: main Cygwin header file. Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. + 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. This file is part of Cygwin. @@ -91,9 +91,6 @@ extern const char case_folded_upper[]; #include "winlean.h" #include "wincap.h" -/* The one function we use from winuser.h most of the time */ -extern "C" DWORD WINAPI GetLastError (void); - /* Used as type by sys_wcstombs_alloc and sys_mbstowcs_alloc. For a description see there. */ #define HEAP_NOTHEAP -1