summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-29 16:14:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-02 11:02:21 +0100
commit0ae74f9519eba2c58e1912c14c2db9e1e40d711a (patch)
treecc983f4c24ac038cae57325b3456b4e813f23680 /common
parentf6b3af28870dc9b2b7d6a7700c63a66ba198baf3 (diff)
downloadbarebox-0ae74f9519eba2c58e1912c14c2db9e1e40d711a.tar.gz
common: provide stubs for ctrlc_* functions
Currently the stubs are only provided for CONFIG_CONSOLE_SIMPLE, but they are also needed for CONSOLE_NONE. Move them to the header. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/console_simple.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/console_simple.c b/common/console_simple.c
index 6d293b2..4222484 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -64,9 +64,6 @@ void console_flush(void)
}
EXPORT_SYMBOL(console_flush);
-void ctrlc_handled(void)
-{
-}
/* test if ctrl-c was pressed */
int ctrlc (void)
{
@@ -81,14 +78,6 @@ int ctrlc (void)
}
EXPORT_SYMBOL(ctrlc);
-void console_ctrlc_allow(void)
-{
-}
-
-void console_ctrlc_forbid(void)
-{
-}
-
int console_register(struct console_device *newcdev)
{
if (console)