aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-06-26 16:36:00 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-06-26 16:36:00 +0000
commita90b8a20ed988808488962636b9c6c8665cb9413 (patch)
tree34623cc7145a5412ec1da3d5e447b004513bfaa9 /winsup/cygwin/winsup.h
parentf804f416f3012d6bb16b27d0fc9b338a7fb50a21 (diff)
downloadnewlib-a90b8a20ed988808488962636b9c6c8665cb9413.zip
newlib-a90b8a20ed988808488962636b9c6c8665cb9413.tar.gz
newlib-a90b8a20ed988808488962636b9c6c8665cb9413.tar.bz2
* winsup.h (GetLastError): Drop redundant definition.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index ddbe360..5c36609 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