summaryrefslogtreecommitdiff
path: root/gnu/lib/libg++/libiberty/xstrdup.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-03 20:43:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-03 20:43:25 +0000
commitfd23647a99647173a1264a0cda9bdbc01021f7f3 (patch)
treecfd683c20e17237db7923e29670580b4affe002d /gnu/lib/libg++/libiberty/xstrdup.c
parentc6737b9901665282ea4632c2ff0016c923a3eeca (diff)
Files from libg++ 2.8.0 that cvs erroneously placed in the trunk.
Diffstat (limited to 'gnu/lib/libg++/libiberty/xstrdup.c')
-rw-r--r--gnu/lib/libg++/libiberty/xstrdup.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gnu/lib/libg++/libiberty/xstrdup.c b/gnu/lib/libg++/libiberty/xstrdup.c
deleted file mode 100644
index 9d08bc70405..00000000000
--- a/gnu/lib/libg++/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;
-}