summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-12 09:21:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:44 +0200
commit4e9f324d37e98823eb7179a239d412e9786d9938 (patch)
treedbf48964f86b31bb552c2b821ab597983ae97435 /common
parent086d0026a0eadb40e3c5502042a7c20a0ffa1c4f (diff)
downloadbarebox-4e9f324d37e98823eb7179a239d412e9786d9938.tar.gz
barebox-4e9f324d37e98823eb7179a239d412e9786d9938.tar.xz
include: move shell prototypes to shell.h
We have a shell,h, so move shell specific prototypes there. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/menutree.c1
-rw-r--r--common/startup.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/menutree.c b/common/menutree.c
index 160ba9ac4b..1505ec8541 100644
--- a/common/menutree.c
+++ b/common/menutree.c
@@ -16,6 +16,7 @@
#include <glob.h>
#include <menu.h>
#include <fs.h>
+#include <shell.h>
#include <libfile.h>
#include <linux/stat.h>
diff --git a/common/startup.c b/common/startup.c
index 093a23ba08..432be67cd6 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -30,6 +30,7 @@
* @brief Main entry into the C part of barebox
*/
#include <common.h>
+#include <shell.h>
#include <init.h>
#include <command.h>
#include <malloc.h>