diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-11 16:12:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 12:21:45 +0200 |
commit | 69858c74b2de4c03c969712fc016a8ce8ac09a0a (patch) | |
tree | af32f0c6e2ac5d9ae82bdf2a21e7119880be2859 /commands/mkdir.c | |
parent | 947fb5adf8af450507c978abf1c7ec9f051e5842 (diff) | |
download | barebox-69858c74b2de4c03c969712fc016a8ce8ac09a0a.tar.gz barebox-69858c74b2de4c03c969712fc016a8ce8ac09a0a.tar.xz |
move make_directory declaration to libfile.h
As a utility function for file handling make_directory() is well
suited for libfile. Move it there.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/mkdir.c')
-rw-r--r-- | commands/mkdir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/mkdir.c b/commands/mkdir.c index 1f978869ab..7d024c871d 100644 --- a/commands/mkdir.c +++ b/commands/mkdir.c @@ -22,6 +22,7 @@ #include <fs.h> #include <errno.h> #include <getopt.h> +#include <libfile.h> static int do_mkdir(int argc, char *argv[]) { |