diff options
author | YamaArashi <shadow962@live.com> | 2016-02-15 16:00:37 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-15 16:00:37 -0800 |
commit | 2f209e7d2884f9658a996adeb896233db9fecdad (patch) | |
tree | cc0806a5f4fdaca67ef39a9bb583347c68b54edd /libiberty/xstrdup.c | |
parent | 526fd830c2ce8da3397bc08a267db5aea78db6f3 (diff) |
kill libiberty
Diffstat (limited to 'libiberty/xstrdup.c')
-rwxr-xr-x | libiberty/xstrdup.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c deleted file mode 100755 index 9d08bc7..0000000 --- a/libiberty/xstrdup.c +++ /dev/null @@ -1,17 +0,0 @@ -/* xstrdup.c -- Duplicate a string in memory, using xmalloc. - This trivial function is in the public domain. - Ian Lance Taylor, Cygnus Support, December 1995. */ - -#include "ansidecl.h" -#include "libiberty.h" - -char * -xstrdup (s) - const char *s; -{ - char *ret; - - ret = xmalloc (strlen (s) + 1); - strcpy (ret, s); - return ret; -} |