diff options
Diffstat (limited to 'unsupported/tandem/strdup.c')
-rw-r--r-- | unsupported/tandem/strdup.c | 15 |
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); -} |