diff options
author | Matt Kraai | 2001-07-05 19:00:47 +0000 |
---|---|---|
committer | Matt Kraai | 2001-07-05 19:00:47 +0000 |
commit | 5009f90ea24224638af6945552012ce60efb3cea (patch) | |
tree | 3a1c4ca9a5a873f39efe93d88528315c2f339090 /libbb/dirname.c | |
parent | 44edeff025d0c282fd71dade3d20e237e58ca4bc (diff) | |
download | busybox-5009f90ea24224638af6945552012ce60efb3cea.zip busybox-5009f90ea24224638af6945552012ce60efb3cea.tar.gz |
Removed obsolete function, strdup_substr.
Diffstat (limited to 'libbb/dirname.c')
-rw-r--r-- | libbb/dirname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/dirname.c b/libbb/dirname.c index cc50f58..5f83994 100644 --- a/libbb/dirname.c +++ b/libbb/dirname.c @@ -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); } |