diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-12 11:20:31 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 12:21:45 +0200 |
commit | e1385b3399b606c2fe495f2e1967822af715edec (patch) | |
tree | 52bd1e9991c93830f67fb605347e95ed05ae6bd0 /include/libfile.h | |
parent | 69858c74b2de4c03c969712fc016a8ce8ac09a0a (diff) | |
download | barebox-e1385b3399b606c2fe495f2e1967822af715edec.tar.gz barebox-e1385b3399b606c2fe495f2e1967822af715edec.tar.xz |
move unlink_recursive declaration to libfile.h
unlink_recursive is a file utility function, so move the prototype to
libfile.h
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/libfile.h')
-rw-r--r-- | include/libfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libfile.h b/include/libfile.h index 3f81718bbd..de4f42dbd1 100644 --- a/include/libfile.h +++ b/include/libfile.h @@ -24,4 +24,6 @@ int open_and_lseek(const char *filename, int mode, loff_t pos); /* Create a directory and its parents */ int make_directory(const char *pathname); +int unlink_recursive(const char *path, char **failedpath); + #endif /* __LIBFILE_H */ |