summaryrefslogtreecommitdiffstats
path: root/libc/string/strdup.c
blob: 19c2d6ad1894812eb8bd61d8d65e20ae959c1c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 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 Wstrdup __strdup

#undef Wstrlen
#undef Wstrcpy
#define Wstrlen strlen
#define Wstrcpy strcpy

#include "wstring.c"

strong_alias(__strdup, strdup)

#undef L_strdup