From b8e94ec06675ed442560c2237ab0ed1ac76be95b Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Wed, 18 Nov 2015 07:52:04 +0100 Subject: [PATCH] lwiperf: TX buffer can be static --- src/apps/lwiperf/lwiperf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/lwiperf/lwiperf.c b/src/apps/lwiperf/lwiperf.c index f6ab39c7..ec30fb4d 100644 --- a/src/apps/lwiperf/lwiperf.c +++ b/src/apps/lwiperf/lwiperf.c @@ -112,7 +112,7 @@ typedef struct _lwiperf_state_tcp { /** List of active iperf sessions */ static lwiperf_state_base_t* lwiperf_all_connections; /** A const buffer to send from: we want to measure sending, not copying! */ -const u8_t lwiperf_txbuf_const[1600] = { +static const u8_t lwiperf_txbuf_const[1600] = { '0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9', '0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9', '0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9','0','1','2','3','4','5','6','7','8','9',