aboutsummaryrefslogtreecommitdiffstats
path: root/unsupported/tandem/strdup.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:36:03 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-18 23:36:03 +0200
commit6edb8f2c771b73d2cadf8e8c42b1d85c805b46f5 (patch)
tree1308a4c6a9bb825a2799794d7102b86364caef3f /unsupported/tandem/strdup.c
parent6f3612539c425da2bc1d34db621696e6a273b01c (diff)
downloadegawk-6edb8f2c771b73d2cadf8e8c42b1d85c805b46f5.tar.gz
egawk-6edb8f2c771b73d2cadf8e8c42b1d85c805b46f5.tar.bz2
egawk-6edb8f2c771b73d2cadf8e8c42b1d85c805b46f5.zip
Remove unsupported / obsolete files. Add files for bootstrapping.
Diffstat (limited to 'unsupported/tandem/strdup.c')
-rw-r--r--unsupported/tandem/strdup.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/unsupported/tandem/strdup.c b/unsupported/tandem/strdup.c
deleted file mode 100644
index 45f7676c..00000000
--- a/unsupported/tandem/strdup.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * strdup --- duplicate a string
- *
- * We supply this routine for those systems that aren't standard yet.
- */
-
-char *
-strdup (str)
-register const char *str;
-{
- char *p;
-
- p=(char *)malloc(strlen(str)+1);
- return strcpy(p,str);
-}