timeout: factor out wait-for-key-press loop into separate file
This patch factors out the wait-for-key-press loop from the shell command
"timeout" into a sparate file, so that it can be used from C, too.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 78caf2d commit 1aa3dbfc1a6048fe7f6af4f1af4fba7b83194f1f
@Marc Kleine-Budde Marc Kleine-Budde authored on 22 Apr 2015
Sascha Hauer committed on 23 Apr 2015
Showing 4 changed files
View
commands/timeout.c
View
common/Makefile
View
common/console_countdown.c 0 → 100644
View
include/console_countdown.h 0 → 100644