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/strdup.c | |
parent | 526fd830c2ce8da3397bc08a267db5aea78db6f3 (diff) |
kill libiberty
Diffstat (limited to 'libiberty/strdup.c')
-rwxr-xr-x | libiberty/strdup.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libiberty/strdup.c b/libiberty/strdup.c deleted file mode 100755 index 1785b34..0000000 --- a/libiberty/strdup.c +++ /dev/null @@ -1,10 +0,0 @@ -char * -strdup(s) - char *s; -{ - char *result = (char*)malloc(strlen(s) + 1); - if (result == (char*)0) - return (char*)0; - strcpy(result, s); - return result; -} |