summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-08-08 08:28:53 -0400
committerTom Rini <trini@konsulko.com>2020-08-08 08:28:53 -0400
commit626b2df302fce4bf91a240f186ba447046db4741 (patch)
treeb211041ab3bfd5876da4f6064bc7f666e0ab23c4 /common/console.c
parent7d914bc76b18b644e27d0cf367e745fc2c4fe1c7 (diff)
parentacb021e48c619b49029102acc781e904c6471c86 (diff)
Merge branch '2020-08-07-misc-improvements'
- SquashFS support - Assorted bugfixes
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index 07c483f820e..8e50af1f9d2 100644
--- a/common/console.c
+++ b/common/console.c
@@ -635,10 +635,12 @@ void console_record_reset(void)
membuff_purge((struct membuff *)&gd->console_in);
}
-void console_record_reset_enable(void)
+int console_record_reset_enable(void)
{
console_record_reset();
gd->flags |= GD_FLG_RECORD;
+
+ return 0;
}
int console_record_readline(char *str, int maxlen)