mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
netbiosns_name_decode: Take CONST char* as first argument
This commit is contained in:
parent
b0c753da96
commit
10e0130a4a
@ -240,9 +240,9 @@ static struct udp_pcb *netbiosns_pcb;
|
|||||||
|
|
||||||
/** Decode a NetBIOS name (from packet to string) */
|
/** Decode a NetBIOS name (from packet to string) */
|
||||||
static int
|
static int
|
||||||
netbiosns_name_decode(char *name_enc, char *name_dec, int name_dec_len)
|
netbiosns_name_decode(const char *name_enc, char *name_dec, int name_dec_len)
|
||||||
{
|
{
|
||||||
char *pname;
|
const char *pname;
|
||||||
char cname;
|
char cname;
|
||||||
char cnbname;
|
char cnbname;
|
||||||
int idx = 0;
|
int idx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user