summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-03-24 13:45:29 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-25 07:44:59 +0100
commit4af724df238eb30569c2845b6160ef4e7f894ad1 (patch)
treed1278b8c743c6552038285f917fee8a6cce472ab /src/server
parentec28c674af428a968ddc8b0242913bde07b901c7 (diff)
downloadopenocd_libswd-4af724df238eb30569c2845b6160ef4e7f894ad1.tar.gz
openocd_libswd-4af724df238eb30569c2845b6160ef4e7f894ad1.tar.bz2
openocd_libswd-4af724df238eb30569c2845b6160ef4e7f894ad1.tar.xz
openocd_libswd-4af724df238eb30569c2845b6160ef4e7f894ad1.zip
telnet_server: review unused symbols
Remove unused function Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/server')
-rw-r--r--src/server/telnet_server.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c
index 46c88367..10caee31 100644
--- a/src/server/telnet_server.c
+++ b/src/server/telnet_server.c
@@ -580,18 +580,6 @@ static int telnet_connection_closed(struct connection *connection)
return ERROR_OK;
}
-int telnet_set_prompt(struct connection *connection, char *prompt)
-{
- struct telnet_connection *t_con = connection->priv;
-
- if (t_con->prompt != NULL)
- free(t_con->prompt);
-
- t_con->prompt = strdup(prompt);
-
- return ERROR_OK;
-}
-
int telnet_init(char *banner)
{
struct telnet_service *telnet_service = malloc(sizeof(struct telnet_service));