diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-02-10 20:15:58 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-02-10 20:15:58 +0000 |
commit | ebb09f85e1117962f32bbe638f71b6196d6a7b8d (patch) | |
tree | 6f9e3c37d52efc75f4349c682f432aa41a716f86 /winsup/cygwin/cygheap_malloc.h | |
parent | 0ac645c1c32e2462c87378df16e0308d4f7af0b7 (diff) | |
download | cygnal-ebb09f85e1117962f32bbe638f71b6196d6a7b8d.tar.gz cygnal-ebb09f85e1117962f32bbe638f71b6196d6a7b8d.tar.bz2 cygnal-ebb09f85e1117962f32bbe638f71b6196d6a7b8d.zip |
* cygheap.cc (cwcsdup): Change parameter to correct PWCSTR.
(cwcsdup1): Ditto.
* cygheap_malloc.h: Change declarations accordingly.
Diffstat (limited to 'winsup/cygwin/cygheap_malloc.h')
-rw-r--r-- | winsup/cygwin/cygheap_malloc.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |