system/readline: add preprocessor for global variable
This patch modifies the g_erasetoeol global variable to be included only
when CONFIG_READLINE_ECHO is enabled.
* Private Data
****************************************************************************/
/* <esc>[K is the VT100 command erases to the end of the line. */
-
+#ifdef CONFIG_READLINE_ECHO
static const char g_erasetoeol[] = VT100_CLEAREOL;
-
+#endif
/****************************************************************************
* Private Functions
****************************************************************************/
