summaryrefslogtreecommitdiffstats
path: root/common/password.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-14 11:23:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-17 08:23:37 +0100
commit7e66707c7662c50c82c6eb62668134e3e342c34f (patch)
treeac0d254d0b610591b7e862fc508c701feb3e8ff0 /common/password.c
parent9bdef9e7f2955728dddc189b03d587e42c950ce3 (diff)
downloadbarebox-7e66707c7662c50c82c6eb62668134e3e342c34f.tar.gz
barebox-7e66707c7662c50c82c6eb62668134e3e342c34f.tar.xz
input: Add BB_ prefix to KEY_ defines
Our KEY_ defines conflict with the standard Linux KEY_ defines, so add a BB_ prefix to them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/password.c')
-rw-r--r--common/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/password.c b/common/password.c
index 9c1e54a359..111c139286 100644
--- a/common/password.c
+++ b/common/password.c
@@ -65,8 +65,8 @@ int password(unsigned char *passwd, size_t length, int flags, int timeout)
puts("\r\n");
return 0;
case CTL_CH('h'):
- case KEY_DEL7:
- case KEY_DEL:
+ case BB_KEY_DEL7:
+ case BB_KEY_DEL:
if (pos > 0) {
if (flags & STAR)
puts("\b \b");