Removed obsolete function, strdup_substr.

This commit is contained in:
Matt Kraai
2001-07-05 19:00:47 +00:00
parent 44edeff025
commit 5009f90ea2
6 changed files with 5 additions and 47 deletions

View File

@ -45,5 +45,5 @@ char *dirname(const char *path)
if (s < path)
return xstrdup (".");
else
return strdup_substr (path, 0, s - path + 1);
return xstrndup (path, s - path + 1);
}