lib/fileutils: add stripoff_last_component() from libmount
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
934530c7e8
commit
d4eaabc86a
6 changed files with 15 additions and 27 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue