mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 17:43:39 +08:00
Changed initialization: many init functions are not needed any more since we now rely on the compiler initializing global and static variables to zero!
This commit is contained in:
@@ -53,7 +53,7 @@ struct nse
|
||||
/** right child next level */
|
||||
u8_t r_nl;
|
||||
};
|
||||
static u8_t node_stack_cnt = 0;
|
||||
static u8_t node_stack_cnt;
|
||||
static struct nse node_stack[NODE_STACK_SIZE];
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,7 +56,7 @@ const char snmp_publiccommunity[7] = "public";
|
||||
/* statically allocated buffers for SNMP_CONCURRENT_REQUESTS */
|
||||
struct snmp_msg_pstat msg_input_list[SNMP_CONCURRENT_REQUESTS];
|
||||
/* UDP Protocol Control Block */
|
||||
struct udp_pcb *snmp1_pcb = NULL;
|
||||
struct udp_pcb *snmp1_pcb;
|
||||
|
||||
static void snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, u16_t port);
|
||||
static err_t snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat);
|
||||
|
||||
Reference in New Issue
Block a user