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

@@ -160,11 +160,11 @@ enum dhcp_option_idx {
/** Holds the decoded option values, only valid while in dhcp_recv.
@todo: move this into struct dhcp? */
u32_t dhcp_rx_options_val[DHCP_OPTION_IDX_MAX];
static u32_t dhcp_rx_options_val[DHCP_OPTION_IDX_MAX];
/** Holds a flag which option was received and is contained in dhcp_rx_options_val,
only valid while in dhcp_recv.
@todo: move this into struct dhcp? */
u8_t dhcp_rx_options_given[DHCP_OPTION_IDX_MAX];
static u8_t dhcp_rx_options_given[DHCP_OPTION_IDX_MAX];
static u8_t dhcp_discover_request_options[] = {
DHCP_OPTION_SUBNET_MASK,

View File

@@ -96,7 +96,7 @@ u32_t reachable_time = LWIP_ND6_REACHABLE_TIME;
u32_t retrans_timer = LWIP_ND6_RETRANS_TIMER; /* @todo implement this value in timer */
#if LWIP_ND6_QUEUEING
u8_t nd6_queue_size = 0;
static u8_t nd6_queue_size = 0;
#endif
/* Index for cache entries. */