diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-04-18 02:42:14 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-04-18 02:42:14 +0000 |
commit | 3422442f2a0ec94b0a82243a757fb40a8bbd53dc (patch) | |
tree | ffc0692c3d95a48643d48abc64d13f425186d5c0 /contrib/binutils/libiberty/xstrdup.c | |
parent | bf5476a7568284207ef150fa66e60173e5fd7c2b (diff) |
Diffstat (limited to 'contrib/binutils/libiberty/xstrdup.c')
-rw-r--r-- | contrib/binutils/libiberty/xstrdup.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/binutils/libiberty/xstrdup.c b/contrib/binutils/libiberty/xstrdup.c deleted file mode 100644 index 9d08bc704055..000000000000 --- a/contrib/binutils/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; -} |