summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-12 11:20:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:45 +0200
commite1385b3399b606c2fe495f2e1967822af715edec (patch)
tree52bd1e9991c93830f67fb605347e95ed05ae6bd0 /commands
parent69858c74b2de4c03c969712fc016a8ce8ac09a0a (diff)
downloadbarebox-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 'commands')
-rw-r--r--commands/loadenv.c1
-rw-r--r--commands/rm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/commands/loadenv.c b/commands/loadenv.c
index 8d6be2fa83..44e96c3b60 100644
--- a/commands/loadenv.c
+++ b/commands/loadenv.c
@@ -26,6 +26,7 @@
#include <envfs.h>
#include <errno.h>
#include <fs.h>
+#include <libfile.h>
#include <malloc.h>
#include <globalvar.h>
diff --git a/commands/rm.c b/commands/rm.c
index 5f1f582f5e..4eebb3d159 100644
--- a/commands/rm.c
+++ b/commands/rm.c
@@ -19,6 +19,7 @@
#include <common.h>
#include <command.h>
#include <fs.h>
+#include <libfile.h>
#include <getopt.h>
#include <errno.h>