X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fsimplify_path.c;h=b714c66b6c586e96636c9b352d6df7e0efffd150;hb=2a813e20e2a8720160a059a036cb6c066044f709;hp=171798e6048cccf517dfc001171a5e30a063b7be;hpb=5d8843e451c01d8abfe6b5be772637310e9e581e;p=oweals%2Fbusybox.git diff --git a/libbb/simplify_path.c b/libbb/simplify_path.c index 171798e60..b714c66b6 100644 --- a/libbb/simplify_path.c +++ b/libbb/simplify_path.c @@ -7,7 +7,6 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include #include "libbb.h" char *bb_simplify_path(const char *path) @@ -15,7 +14,7 @@ char *bb_simplify_path(const char *path) char *s, *start, *p; if (path[0] == '/') - start = bb_xstrdup(path); + start = xstrdup(path); else { s = xgetcwd(NULL); start = concat_path_file(s, path);