mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-10-01 21:37:38 +00:00
tftp: mode_to_string() should be static
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user