summaryrefslogtreecommitdiff
path: root/libc/string/strdup.c
blob: 2bf2462fb6b8277e44414766de6fab5f72a9fb3f (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