summaryrefslogtreecommitdiffstats
path: root/commands/automount.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-11 16:12:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:45 +0200
commit69858c74b2de4c03c969712fc016a8ce8ac09a0a (patch)
treeaf32f0c6e2ac5d9ae82bdf2a21e7119880be2859 /commands/automount.c
parent947fb5adf8af450507c978abf1c7ec9f051e5842 (diff)
downloadbarebox-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/automount.c')
-rw-r--r--commands/automount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/automount.c b/commands/automount.c
index b491d203fd..a71430c9ef 100644
--- a/commands/automount.c
+++ b/commands/automount.c
@@ -20,6 +20,7 @@
#include <fs.h>
#include <errno.h>
#include <getopt.h>
+#include <libfile.h>
static int do_automount(int argc, char *argv[])
{