diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-02-02 13:22:11 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-02-02 13:22:11 -0600 |
commit | 88c9930e82d5ee1e415e4037443b2b6fb95d9ab0 (patch) | |
tree | c1ffeb8053112d5603bab1156c8b7975ce42700f /apps/system/cle | |
parent | 7e032c4d2bbe3eec2f4e09e948c834ddcd20c2dd (diff) | |
download | nuttx-88c9930e82d5ee1e415e4037443b2b6fb95d9ab0.tar.gz nuttx-88c9930e82d5ee1e415e4037443b2b6fb95d9ab0.tar.bz2 nuttx-88c9930e82d5ee1e415e4037443b2b6fb95d9ab0.zip |
CLE: Remove some un-used constant data definitions
Diffstat (limited to 'apps/system/cle')
-rw-r--r-- | apps/system/cle/cle.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/apps/system/cle/cle.c b/apps/system/cle/cle.c index f978327ea..c1bb5b9f6 100644 --- a/apps/system/cle/cle.c +++ b/apps/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; |