mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
tftp: mode_to_string() should be static
This commit is contained in:
parent
f098c4515e
commit
0be3e35bf2
@ -503,7 +503,7 @@ void tftp_cleanup(void)
|
|||||||
memset(&tftp_state, 0, sizeof(tftp_state));
|
memset(&tftp_state, 0, sizeof(tftp_state));
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
static const char *
|
||||||
mode_to_string(enum tftp_transfer_mode mode)
|
mode_to_string(enum tftp_transfer_mode mode)
|
||||||
{
|
{
|
||||||
if (mode == TFTP_MODE_OCTET) {
|
if (mode == TFTP_MODE_OCTET) {
|
||||||
|
Loading…
Reference in New Issue
Block a user