summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-11 10:17:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:44 +0200
commitea5aeb986ca8061b45bfcc73df7285399d714fd0 (patch)
tree42dc13f627010b932ed85ddf2442722576001a59 /common
parent24a6b3f8eabf08b589a2860aee9b670fa88cd085 (diff)
downloadbarebox-ea5aeb986ca8061b45bfcc73df7285399d714fd0.tar.gz
barebox-ea5aeb986ca8061b45bfcc73df7285399d714fd0.tar.xz
include: move run_command prototype to command.h
run_command fits much better into command.h, move it there. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/menutree.c1
-rw-r--r--common/password.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/menutree.c b/common/menutree.c
index 97e628de88..160ba9ac4b 100644
--- a/common/menutree.c
+++ b/common/menutree.c
@@ -12,6 +12,7 @@
#include <environment.h>
#include <libbb.h>
#include <common.h>
+#include <command.h>
#include <glob.h>
#include <menu.h>
#include <fs.h>
diff --git a/common/password.c b/common/password.c
index 5b754d943f..05e61801f0 100644
--- a/common/password.c
+++ b/common/password.c
@@ -24,6 +24,7 @@
#include <digest.h>
#include <malloc.h>
#include <xfuncs.h>
+#include <command.h>
#include <magicvar.h>
#include <clock.h>
#include <init.h>