From 76a94e541dd86add4431d0a3417ad54e84eabcf4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 2 Feb 2014 13:22:11 -0600 Subject: [PATCH] CLE: Remove some un-used constant data definitions --- system/cle/cle.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/system/cle/cle.c b/system/cle/cle.c index f978327ea..c1bb5b9f6 100644 --- a/system/cle/cle.c +++ b/system/cle/cle.c @@ -198,16 +198,11 @@ static int cle_editloop(FAR struct cle_s *priv); /* VT100 escape sequences */ -static const char g_cursoron[] = VT100_CURSORON; -static const char g_cursoroff[] = VT100_CURSOROFF; -static const char g_getcursor[] = VT100_GETCURSOR; -static const char g_erasetoeol[] = VT100_CLEAREOL; -static const char g_attriboff[] = VT100_MODESOFF; -static const char g_fmtcursorpos[] = VT100_FMT_CURSORPOS; - -/* Error format strings */ - -static const char g_fmtnotvalid[] = "Command not valid"; +static const char g_cursoron[] = VT100_CURSORON; +static const char g_cursoroff[] = VT100_CURSOROFF; +static const char g_getcursor[] = VT100_GETCURSOR; +static const char g_erasetoeol[] = VT100_CLEAREOL; +static const char g_fmtcursorpos[] = VT100_FMT_CURSORPOS; /**************************************************************************** * Private Functions @@ -222,7 +217,7 @@ static const char g_fmtnotvalid[] = "Command not valid"; ****************************************************************************/ static void cle_write(FAR struct cle_s *priv, FAR const char *buffer, - uint16_t buflen) + uint16_t buflen) { ssize_t nwritten; uint16_t nremaining = buflen; @@ -390,7 +385,7 @@ static void cle_setcursor(FAR struct cle_s *priv, uint16_t column) ****************************************************************************/ static int cle_getcursor(FAR struct cle_s *priv, FAR uint16_t *prow, - FAR uint16_t *pcolumn) + FAR uint16_t *pcolumn) { uint32_t row; uint32_t column; @@ -541,7 +536,8 @@ static void cle_clrtoeol(FAR struct cle_s *priv) * ****************************************************************************/ -static bool cle_opentext(FAR struct cle_s *priv, uint16_t pos, uint16_t increment) +static bool cle_opentext(FAR struct cle_s *priv, uint16_t pos, + uint16_t increment) { int i;