diff --git a/src/sbbs3/telnet.c b/src/sbbs3/telnet.c index cb7799fccd1392f2fc4b883241240134958b3039..41cb4ad82a8b3738f545b2e9874bca3a3991d45c 100644 --- a/src/sbbs3/telnet.c +++ b/src/sbbs3/telnet.c @@ -126,7 +126,7 @@ const char* DLLCALL telnet_opt_desc(uchar opt) return(unknown); } -const uchar DLLCALL telnet_opt_ack(uchar cmd) +uchar DLLCALL telnet_opt_ack(uchar cmd) { switch(cmd) { case TELNET_DO: return TELNET_WILL; @@ -137,7 +137,7 @@ const uchar DLLCALL telnet_opt_ack(uchar cmd) return 0; } -const uchar DLLCALL telnet_opt_nak(uchar cmd) +uchar DLLCALL telnet_opt_nak(uchar cmd) { switch(cmd) { case TELNET_DO: return TELNET_WONT; diff --git a/src/sbbs3/telnet.h b/src/sbbs3/telnet.h index d7c42c6e1c243a01af5dee079f98be9c9f0edc69..22b982b9e0c15fd95f92be9bd4b36423724390db 100644 --- a/src/sbbs3/telnet.h +++ b/src/sbbs3/telnet.h @@ -148,8 +148,8 @@ extern "C" { DLLEXPORT const char* DLLCALL telnet_cmd_desc(uchar cmd); DLLEXPORT const char* DLLCALL telnet_opt_desc(uchar opt); -DLLEXPORT const uchar DLLCALL telnet_opt_ack(uchar cmd); -DLLEXPORT const uchar DLLCALL telnet_opt_nak(uchar cmd); +DLLEXPORT uchar DLLCALL telnet_opt_ack(uchar cmd); +DLLEXPORT uchar DLLCALL telnet_opt_nak(uchar cmd); #ifdef __cplusplus }