summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-12-18 11:27:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-12-18 16:44:58 +0100
commit96b71abf8bf36c23d4d3945652b1e26abad1a771 (patch)
tree3701439c1da39c304394973175b0ff5196e0399f /include
parent73108301d4c4028b92f6a1ae0e4337dd71a1dc8e (diff)
downloadbarebox-96b71abf8bf36c23d4d3945652b1e26abad1a771.tar.gz
barebox-96b71abf8bf36c23d4d3945652b1e26abad1a771.tar.xz
replace // style comments
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/readkey.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/readkey.h b/include/readkey.h
index d073e43082..919af6421b 100644
--- a/include/readkey.h
+++ b/include/readkey.h
@@ -3,22 +3,22 @@
#define CTL_CH(c) ((c) - 'a' + 1)
-// Misc. non-Ascii keys
-#define KEY_UP CTL_CH('p') // cursor key Up
-#define KEY_DOWN CTL_CH('n') // cursor key Down
-#define KEY_RIGHT CTL_CH('f') // Cursor Key Right
-#define KEY_LEFT CTL_CH('b') // cursor key Left
-#define KEY_HOME CTL_CH('a') // Cursor Key Home
+/* Misc. non-Ascii keys */
+#define KEY_UP CTL_CH('p') /* cursor key Up */
+#define KEY_DOWN CTL_CH('n') /* cursor key Down */
+#define KEY_RIGHT CTL_CH('f') /* Cursor Key Right */
+#define KEY_LEFT CTL_CH('b') /* cursor key Left */
+#define KEY_HOME CTL_CH('a') /* Cursor Key Home */
#define KEY_ERASE_TO_EOL CTL_CH('k')
#define KEY_REFRESH_TO_EOL CTL_CH('e')
#define KEY_ERASE_LINE CTL_CH('x')
#define KEY_INSERT CTL_CH('o')
#define KEY_CLEAR_SCREEN CTL_CH('l')
#define KEY_DEL7 127
-#define KEY_END 133 // Cursor Key End
-#define KEY_PAGEUP 135 // Cursor Key Page Up
-#define KEY_PAGEDOWN 136 // Cursor Key Page Down
-#define KEY_DEL 137 // Cursor Key Del
+#define KEY_END 133 /* Cursor Key End */
+#define KEY_PAGEUP 135 /* Cursor Key Page Up */
+#define KEY_PAGEDOWN 136 /* Cursor Key Page Down */
+#define KEY_DEL 137 /* Cursor Key Del */
#define ANSI_CLEAR_SCREEN "\e[2J\e[;H"