summaryrefslogtreecommitdiff
path: root/lib/telnet.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-12 08:44:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-12 08:44:00 +0000
commit327e6a2b4f0ca6d8083261b3e17af95f493a8881 (patch)
treed59448bd208feda02a50ca27c24d7a5f99090a8c /lib/telnet.c
parentbe8f6c7f5ca97a68e2062d2b7b1d3d7fc6a3d025 (diff)
downloadcurl-327e6a2b4f0ca6d8083261b3e17af95f493a8881.tar.gz
Made set_local_option() properly static as reported by Rick Jones
Diffstat (limited to 'lib/telnet.c')
-rw-r--r--lib/telnet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 2103a81e4..c1cc07d08 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -449,7 +449,8 @@ void rec_wont(struct connectdata *conn, int option)
}
}
-void set_local_option(struct connectdata *conn, int option, int newstate)
+static void
+set_local_option(struct connectdata *conn, int option, int newstate)
{
struct TELNET *tn = (struct TELNET *)conn->proto.telnet;
if(newstate == CURL_YES)