redefine many vars as "static"

See patch #10156
This commit is contained in:
Florian La Roche
2021-12-07 02:57:02 +01:00
committed by Simon Goldschmidt
parent 5ab46f82f9
commit 62ac0faad8
7 changed files with 28 additions and 28 deletions

View File

@@ -93,7 +93,7 @@ static void netconn_drain(struct netconn *conn);
#endif /* LWIP_TCPIP_CORE_LOCKING */
#if LWIP_NETCONN_FULLDUPLEX
const u8_t netconn_deleted = 0;
static const u8_t netconn_deleted = 0;
int
lwip_netconn_is_deallocated_msg(void *msg)
@@ -106,9 +106,9 @@ lwip_netconn_is_deallocated_msg(void *msg)
#endif /* LWIP_NETCONN_FULLDUPLEX */
#if LWIP_TCP
const u8_t netconn_aborted = 0;
const u8_t netconn_reset = 0;
const u8_t netconn_closed = 0;
static const u8_t netconn_aborted = 0;
static const u8_t netconn_reset = 0;
static const u8_t netconn_closed = 0;
/** Translate an error to a unique void* passed via an mbox */
static void *