From 0be3e35bf2780feed59e09fd08954f80bd7b4c7e Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 17 Oct 2018 21:53:04 +0200 Subject: [PATCH] tftp: mode_to_string() should be static --- src/apps/tftp/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/tftp/tftp.c b/src/apps/tftp/tftp.c index dc41085c..c5b89ff3 100644 --- a/src/apps/tftp/tftp.c +++ b/src/apps/tftp/tftp.c @@ -503,7 +503,7 @@ void tftp_cleanup(void) memset(&tftp_state, 0, sizeof(tftp_state)); } -const char * +static const char * mode_to_string(enum tftp_transfer_mode mode) { if (mode == TFTP_MODE_OCTET) {