From ebb09f85e1117962f32bbe638f71b6196d6a7b8d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 10 Feb 2014 20:15:58 +0000 Subject: * cygheap.cc (cwcsdup): Change parameter to correct PWCSTR. (cwcsdup1): Ditto. * cygheap_malloc.h: Change declarations accordingly. --- winsup/cygwin/cygheap_malloc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/cygheap_malloc.h') diff --git a/winsup/cygwin/cygheap_malloc.h b/winsup/cygwin/cygheap_malloc.h index a4ab2462e..088243ee3 100644 --- a/winsup/cygwin/cygheap_malloc.h +++ b/winsup/cygwin/cygheap_malloc.h @@ -1,7 +1,7 @@ /* cygheap_malloc.h: Cygwin heap manager allocation functions. - Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011 - Red Hat, Inc. + Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011, + 2014 Red Hat, Inc. This file is part of Cygwin. @@ -48,8 +48,8 @@ void *__reg3 ccalloc (cygheap_types, size_t, size_t); void *__reg2 cmalloc_abort (cygheap_types, size_t); void *__reg2 crealloc_abort (void *, size_t); void *__reg3 ccalloc_abort (cygheap_types, size_t, size_t); -PWCHAR __reg1 cwcsdup (const PWCHAR); -PWCHAR __reg1 cwcsdup1 (const PWCHAR); +PWCHAR __reg1 cwcsdup (PCWSTR); +PWCHAR __reg1 cwcsdup1 (PCWSTR); char *__reg1 cstrdup (const char *); char *__reg1 cstrdup1 (const char *); void __reg2 cfree_and_set (char *&, char * = NULL); -- cgit v1.2.3