lib/fileutils: add stripoff_last_component() from libmount

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-06-09 11:54:32 +02:00
parent 934530c7e8
commit d4eaabc86a
6 changed files with 15 additions and 27 deletions

View file

@ -21,5 +21,6 @@ static inline FILE *xfmkstemp(char **tmpname, char *dir)
extern int get_fd_tabsize(void);
extern int mkdir_p(const char *path, mode_t mode);
extern char *stripoff_last_component(char *path);
#endif /* UTIL_LINUX_FILEUTILS */