summaryrefslogtreecommitdiff
path: root/libc/string/wcsdup.c
blob: 25043ced1b724ce42243bc0447bbe13e67472511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#define L_strdup
#define WANT_WIDE
#define Wstrdup __wcsdup

#undef Wstrlen
#undef Wstrcpy
#define Wstrlen __wcslen
#define Wstrcpy __wcscpy

#include "wstring.c"

strong_alias(__wcsdup, wcsdup)

#undef L_strdup