summaryrefslogtreecommitdiff
path: root/libc/string/wcsdup.c
blob: f1af0d683687dc2518aefe77f4ef6529cad9197d (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