summaryrefslogtreecommitdiffstats
path: root/include/fileutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fileutils.h')
-rw-r--r--include/fileutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fileutils.h b/include/fileutils.h
index 99a71edbc..2144e5e5d 100644
--- a/include/fileutils.h
+++ b/include/fileutils.h
@@ -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 */